|
| |
|
|
Jlvazquez825
Posts: 50 Joined: 12/27/2005 Status: offline
|
help with buttons menu.... - 7/31/2007 3:08:27
after downloading a buttons menu, and pasted the code to my page, the problem is that every time I click on a link or button, the page opens in a new IE window, instead of the same window.....can anyone tell me what could be wrong? thanks in advance
|
|
|
|
coreybryant
Posts: 2479 Joined: 3/17/2002 From: Castle Rock CO USA Status: offline
|
RE: help with buttons menu.... - 7/31/2007 7:12:24
Something in the code is telling it to open in a new window / base target maybe? Source code / URL would help to confirm / deny this
_____________________________
Corey R. Bryant Merchant Accounts | Toll Free Numbers | Expression Web Blog
|
|
|
|
Jlvazquez825
Posts: 50 Joined: 12/27/2005 Status: offline
|
RE: help with buttons menu.... - 8/1/2007 3:44:11
this goes into the head <script src="menuscript.js" language="javascript" type="text/javascript"></script> <link rel="stylesheet" type="text/css" href="menustyle.css" media="screen, print" /> and this goes into the body <table border="0" cellpadding="0" cellspacing="0"><tr><td> <a href="Link 1" onmouseover="setOverImg('1','');" onmouseout="setOutImg('1','');" target="home.htm"><img src="buttons/button1up.png" border="0" id="button1" vspace="1" hspace="1"></a><br> <a href="Link 2" onmouseover="setOverImg('2','');" onmouseout="setOutImg('2','');" target="links.htm"><img src="buttons/button2up.png" border="0" id="button2" vspace="1" hspace="1"></a><br> <a href="link 3" onmouseover="setOverImg('3','');" onmouseout="setOutImg('3','');" target="contact.htm"><img src="buttons/button3up.png" border="0" id="button3" vspace="1" hspace="1"></a><br> <a href="link 4" onmouseover="setOverImg('4','');" onmouseout="setOutImg('4','');" target="your_ip.htm"><img src="buttons/button4up.png" border="0" id="button4" vspace="1" hspace="1"></a><br> </td></tr></table>
|
|
|
|
Tailslide
Posts: 6267 Joined: 5/10/2005 From: Out here on the raggedy edge Status: online
|
RE: help with buttons menu.... - 8/1/2007 3:55:37
Get rid of these: target="home.htm" And the other target="whatever" instructions. Can you post a link of what you're wanting to achieve as that's a lot of javascript - which isn't really necessary for simple rollover buttons.
_____________________________
"My strategy is so simple an idiot could have devised it" Little Blue Plane Web Design | Blood, Sweat & Rust - A Land Rover restoration project
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|