View Full Version : javascript in vbscript while loop
Boxhead
01-05-2004, 10:31 AM
I am using Dreamweaver to create my javascript rollovers but I have encountered a problem.
I have two rollovers that are not working and the only problem I can see is that they fall within a vbscript while loop.
Would this cause a problem - if so how do i get around it?
Monkey
A1ien51
01-05-2004, 02:55 PM
The vb code runs on the server so the javascript deals with the code on the client side.
Have you view source after the page has loaded and looked at the code?
Boxhead
01-05-2004, 03:08 PM
I have just finished sorting the problem when you replied!!
The problem was the rollovers were being duplicated by the while loop so had the same id and name!! Sorted the problem by using the record's key id as the rollover name/id - problem solved.
If you had been 2 minutes quicker you would have sent me in the right direction - so cheers for your help, just sort your timing out!!:o
Cheers
monkey
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.