OnClick Behaviour

This is a discussion on "OnClick Behaviour" within the JavaScript Forum section. This forum, and the thread "OnClick Behaviour are both part of the Program Your Website category.



Go Back   Webforumz.com > Main Forums > Program Your Website > JavaScript Forum

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Oct 22nd, 2007, 06:38
Most Reputable Member
Join Date: Feb 2004
Location: Borneo
Age: 27
Posts: 1,608
Blog Entries: 2
Thanks: 0
Thanked 4 Times in 3 Posts
Send a message via Yahoo to Monie
OnClick Behaviour

Reffering to this THREAD, I've manage to do a "yahoo-page-option-look-alike".

The only things left there is to do the arrow down or arrow up image depends on the popup div. If the div is showing, then the arrow image should be showing up, and if the div is hidden/not active, the arrow image should pointing downwards.

See www.yahoo.com for the example, check out the page option.
Attached Images
File Type: jpg yahooOption.jpg (260.8 KB, 38 views)
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)
Reply With Quote

  #2 (permalink)  
Old Oct 22nd, 2007, 20:40
Marc's Avatar
Moderator

SuperMember
Join Date: Apr 2007
Location: Scotland, UK
Age: 15
Posts: 1,649
Thanks: 0
Thanked 8 Times in 8 Posts
Send a message via MSN to Marc Send a message via Skype™ to Marc
Re: OnClick Behaviour

Could this be any help to you, monie: http://www.sislands.com/coin70/week3/onclick.htm?

Last edited by Marc; Oct 22nd, 2007 at 20:53. Reason: typo!
Reply With Quote
  #3 (permalink)  
Old Oct 22nd, 2007, 23:23
New Member
Join Date: Aug 2007
Location: ca
Age: 23
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Re: OnClick Behaviour

good question......
I am in search of the same and at last got the solution.
Reply With Quote
  #4 (permalink)  
Old Oct 23rd, 2007, 02:13
Most Reputable Member
Join Date: Feb 2004
Location: Borneo
Age: 27
Posts: 1,608
Blog Entries: 2
Thanks: 0
Thanked 4 Times in 3 Posts
Send a message via Yahoo to Monie
Re: OnClick Behaviour

Quote:
Originally Posted by Marc View Post
Could this be any help to you, monie: http://www.sislands.com/coin70/week3/onclick.htm?
Yeah, I have tried that code but found out it was not suitable with what I am trying to apply.

If you see yahoo page option, you'll see what I really mean.
If we click outside the popup drop-down div area the OnClick behavior will apply also to the image toggle.

I am not good at javascript and I don't know how to modify them accordingly. Any help would be great.

Thanks Marc. Good link by the way..
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Bizarre IE behaviour wmike Web Page Design 2 Apr 23rd, 2007 14:16
Rollover behaviour applying to whole div-HELP tobymather Web Page Design 7 Apr 13th, 2007 23:52
OnClick to new URL and Submit together plooner JavaScript Forum 2 Feb 13th, 2007 11:48
Need help on an onclick function DaveKenroy JavaScript Forum 3 Jan 28th, 2007 11:31
Strange behaviour ukgeoff Web Page Design 3 Sep 22nd, 2006 09:43


All times are GMT. The time now is 22:36.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43