Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - 2 a herf tags?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

2 a herf tags?

 Post Reply Post Reply
Author
Lucent View Drop Down
Groupie
Groupie


Joined: 06 June 2003
Status: Offline
Points: 111
Post Options Post Options   Thanks (0) Thanks(0)   Quote Lucent Quote  Post ReplyReply Direct Link To This Post Topic: 2 a herf tags?
    Posted: 07 October 2003 at 6:26pm
is it possible to do 2 <a herf=""> to an graphic botton?  I want 1 to open up certain parts of my tree menu, and the other to load to another page.  I tried to do it, but it didnt really work. is there any other way to do so?? thanks
Back to Top
Gullanian View Drop Down
Senior Member
Senior Member
Avatar

Joined: 04 January 2002
Location: England
Status: Offline
Points: 4373
Post Options Post Options   Thanks (0) Thanks(0)   Quote Gullanian Quote  Post ReplyReply Direct Link To This Post Posted: 07 October 2003 at 6:28pm
You could use Javascript OnClick, but I dont see why you cant put the anchor link around the image?
Back to Top
KCWebMonkey View Drop Down
Senior Member
Senior Member
Avatar
Go Chiefs!

Joined: 21 June 2002
Status: Offline
Points: 1319
Post Options Post Options   Thanks (0) Thanks(0)   Quote KCWebMonkey Quote  Post ReplyReply Direct Link To This Post Posted: 07 October 2003 at 7:36pm
if you want different parts of an image to go to different links, then you want to make an Image Map



Edited by KCWebMonkey
Back to Top
Lucent View Drop Down
Groupie
Groupie


Joined: 06 June 2003
Status: Offline
Points: 111
Post Options Post Options   Thanks (0) Thanks(0)   Quote Lucent Quote  Post ReplyReply Direct Link To This Post Posted: 08 October 2003 at 8:25am

I have a tree menu on the page, I need this graphic button to open up certain part of the tree menu, and also load to another page.

//<a href="javascript: d.closeAll(); d.openTo(1, true);"><img src="button_123.gif" width="67" height="88" alt="123"></a>

how can I do something like this?..see the red part where I added, but doesn't work..

//<a href="123.asp"><a href="javascript: d.closeAll(); d.openTo(1, true);"><img src="button_123.gif" width="67" height="88" alt="123"></a></a>

Back to Top
MorningZ View Drop Down
Senior Member
Senior Member
Avatar

Joined: 06 May 2002
Location: United States
Status: Offline
Points: 1793
Post Options Post Options   Thanks (0) Thanks(0)   Quote MorningZ Quote  Post ReplyReply Direct Link To This Post Posted: 08 October 2003 at 9:42am

and hell yeah that wouldnt work.....

you are going to have to use Javascript as mentioned above....

run a function that changes the URL in the current window and also changes the window.href of the other frame....

Contribute to the working anarchy we fondly call the Internet
Back to Top
FLATLINE View Drop Down
Groupie
Groupie
Avatar

Joined: 08 July 2002
Location: Israel
Status: Offline
Points: 142
Post Options Post Options   Thanks (0) Thanks(0)   Quote FLATLINE Quote  Post ReplyReply Direct Link To This Post Posted: 09 October 2003 at 4:01pm

Do this:

//<a href="123.asp" onClick="javascript: d.closeAll(); d.openTo(1, true);"><img src="button_123.gif" width="67" height="88" alt="123"></a>

Visit my site: DarkGreen HQ
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.