This is a discussion on "link to url with "?" in IE" within the Web Page Design section. This forum, and the thread "link to url with "?" in IE are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
link to url with "?" in IE
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
link to url with "?" in IE
Hi,
I have a website and throughout it I have a link to another website (via a button) where the url has a question mark in it, i.e. http://www.mywebsite.com/?username The link works just fine in Firefox, but in IE, it reverses the url and when you hover the mouse over the button/link, the bottom left corner of the browser says "Shortcut to ?username at www.mywebsite.com," and nothing happens when you click on the button. Here's a copy of the code:
Does anyone know why this is happening? I have to have the question mark as part of the link url, and it's for a business, so making the link work is vital as well. Thanks for any help!! Note: edited to fix code - I copied incorrectly the first time. Last edited by tikka12; Jun 23rd, 2006 at 21:26. |
|
|
|
|||
|
Re: link to url with "?" in IE
well its not right, u forgot the space between username"target=
|
|
|||
|
Re: link to url with "?" in IE
Is that just an IE thing...the space before the "target="?
The majority of my links are like that (open a new browser) and work fine in Firefox... but thanks for the tip...I'll change it and see if it works. I also noticed that it's only the links that I made into buttons that have a problem. The straight text links work fine. My pdf files also will not open in correctly in IE, the link works, and adobe opens, but then the page is just blank... but it could just be my computer. Thanks again! |
|
|||
|
Re: link to url with "?" in IE
I just tried adding the space and that doesn't seem to work either....
|
|
|||
|
Re: link to url with "?" in IE
its most likely because dynamic urls should be for example:
www.mydomain.com?username=sypher it has to equal something otherwise theres no point to the url as thats how dynamic languages use the url. |
|
|||
|
Re: link to url with "?" in IE
<a class="order" href="http://www.mywebsite.com/?username=" target="_blank"><button>Order
Products</button></a> |
![]() |
| Tags |
| link, url, quotquot |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Creating a "tag" system to find relevant "related" pages | MrQuestions | PHP Forum | 3 | Mar 20th, 2008 23:06 |
| [SOLVED] Show "Image" Depends On User "Status"? | Monie | Classic ASP | 6 | Oct 16th, 2007 01:22 |
| ? IS "meta name="robots" content="?" necessary in pages ? | Love2Java | Starting Out | 6 | Aug 8th, 2007 13:48 |
| window.opener.document["nameForm"].getElementById("someid").value; doesnt work | drpompeii | JavaScript Forum | 0 | Feb 17th, 2007 23:09 |
| Need to build a "Trip" or "Journey Planner" | jswebdev | PHP Forum | 4 | Dec 5th, 2005 23:22 |