Today's Posts Follow Us On Twitter! TFL Members on Twitter  
Forum search: Advanced Search  
Navigation
Marketplace
  Members Login:
Lost password?
  Forum Statistics:
Forum Members: 24,254
Total Threads: 80,792
Total Posts: 566,472
There are 1737 users currently browsing (tf).
 
  Our Partners:
 
  TalkFreelance     Design and Development     Programming     Javascript :

Javascript question

Thread title: Javascript question
Closed Thread    
    Thread tools Search this thread Display Modes  
01-17-2007, 02:27 AM
#1
Wildhoney is offline Wildhoney
Wildhoney's Avatar
Status: Request a custom title
Join date: Feb 2006
Location: Nottingham
Expertise:
Software:
 
Posts: 1,648
iTrader: 18 / 95%
 

Wildhoney is on a distinguished road

Send a message via AIM to Wildhoney Send a message via MSN to Wildhoney Send a message via Yahoo to Wildhoney

  Old

It does seem somewhat mystifying to me, too. I concur with Salathe, you want to be careful not to confuse your users with this. Nevertheless, I have coded you 2 examples in the following document:

Link: http://www.adam.tiaghosting.com/Xi0s/

I believe the latter of the examples is the 1 you were after. It only occurred to me half way through the former so I continued with it anyway.

Please note that I am using the Prototype framework and so you'll require that file, as well. As Javascript is viewable through source, I leave it entirely up to you to snaffle it.

Incidentally, the reasons I utilised the Prototype framework, apart from gaining access to getElementsByClassName, albeit there are workarounds for this, is because:

a) Compatibility;
b) Prototype is a powerful framework (And I would advocate its use);

At current, I'm merely changing the background colour to show how it works. This would be simple to edit however you desire.

I hope this helps, sir.

Closed Thread    


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

  Posting Rules  
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump:
 
  Contains New Posts Forum Contains New Posts   Contains No New Posts Forum Contains No New Posts   A Closed Forum Forum is Closed