Sr. Web Developer
mediabistro.com
US-NY-New York

Justtechjobs.com Post A Job | Post A Resume

Comments for: kassemi20050613

Message # 1029443:
Date: 07/11/05 17:06
By: Morris Hirsch
Subject: RE: Using hyperlinks instead of drop down men

You can do that, here is an example where we used links to run JavaScript when it can, with a safety fallback of using the link itself.

<a
onClick="popup_url(this.href);
return false;"
href="/popup/press20040920.html"
onMouseOver="show_status('more info');
return true;"
onMouseOut="clear_status();
return true;"
>Hurricane Season Warning</a>

When the JS is allowed you get a popup,
otherwise the href link is followed and the info comes up right in this window. Another plus, search engine robots will follow the href so your pages get indexed.

For your job, replace popup_url with JS to recognize the href as a request to get the products or whatever and fill in the div, or fallback to showing them on a fresh page by following the href.

hope this helps you

Previous Message | Next Message


Comments:
Wonderful TutorialThe_Anomaly09/02/08 11:37
Nice topicAjaiChandran10/21/05 01:43
RE: Submit ButtonMirel10/20/05 03:26
Finally .. an article i understand !Sander09/20/05 20:58
Submit ButtonAlex09/16/05 20:02
RE: making it modularacer08/04/05 08:16
RE: Using hyperlinks instead of drop down menAgmLauncher07/19/05 23:36
RE: Using hyperlinks instead of drop down menMorris Hirsch07/11/05 17:06
Using hyperlinks instead of drop down menu?AgmLauncher07/03/05 19:33
making it modularrodrigo06/21/05 13:08
Where's the XMLDavid Goldfeder06/13/05 14:03
 

If you are looking for help, please post on the appropriate forum here. Your questions will be answered much more quickly.

Add A Comment:

Name:

Email:

Subject:

Message:

To reduce spam posts, messages are now manually approved

You are not [logged in]. That means your account will not get credit for this post.