Ive got a jQuery menu and slider on this homepage which all shows up fine in Mac and iPad, but on PCs there are some issues!
The menu seems to show up here: http://ukcpd.net/
...but not here: http://www.ukcpd.net/
Any idea why?
| SitePoint Sponsor |
Ive got a jQuery menu and slider on this homepage which all shows up fine in Mac and iPad, but on PCs there are some issues!
The menu seems to show up here: http://ukcpd.net/
...but not here: http://www.ukcpd.net/
Any idea why?


Hi doug123. Welcome to the forums.
Off Topic:
Sorry I can't comment on the issue at hand (on a Mac), but it's better (at least for SEO purposes) not to have your site showing up at both URLs anyway—better to choose one and redirect the other to that.
Thanks, how do I make sure all visits etc direct to http:// rather than http://www? Is it in .htaccess?

You would do that with a .htaccess file in the root directory of your website.
Put this code in it:
This will hopefully have the added benefit of solving your other problem.Code:Options +FollowSymlinks RewriteEngine on RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC] RewriteRule ^(.*)$ http://%1/$1 [R=301,L]
How well do you know your JavaScript from your jQuery?
Check out SitePoint's latest JavaScript challenge
My blog
Bookmarks