Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Javascript conflicting with .htaccess

Status
Not open for further replies.

reversenorm

Programmer
Jun 20, 2008
1
US
So reciently I've implemented a javascript workaround for a select box to keep it from always being on top in IE6. This script can be found here

here's and example page

On the site I'm working on we modified our .htaccess to change a truncated url to the full "get" url so that the website can be crawled. Here's and excerpt from the .htaccess file

RewriteRule ^view/([0-9]+)$ view/$1/ [R]
RewriteRule ^view/([0-9]+)/$ view.php?category=$1

basically what this does is tell the server to change links that look like this

to this

The problem arises because the selectbox script (or maybe it's jquery I don't know) appears to look to the displayed url rather than the parsed url, so it doesn't load the select box.

Any clues or solutions would be great.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top