hello,
i have a parent page with a bunch of photos. clicking on the first photo will lead to a new child window with a close-up of that photo AND from there you can cycle through all of the other photos from the previous page. Ive got the parent page and the child window page and the photo viewer working fine. What I want to do is to be able to do is have the same photo viewer window open up and display the particular photo that was...
User Profile
Collapse
-
calling all buttons - AS2
hi,
how can i call all buttons within a certain movieclip (without naming each instance individually)?
Im looking to create a function that will reset all of the button's alphas back to 100.
Thanks -
and this is cross-browser compliant you reckon?... -
Playing a sound onmouseover
Hi,
On a rollover I am looking to change an image AND have a sound play. I was hoping to do this with javascript. The image is done but the sound - I have been looking into it (sound with javascript) and it seems like this is a thing of the past - and is difficult to do cross browser etc. Anyone have any info on whether this is possible, or how difficult it would be? I was hoping to do this without flash, but will use it if no... -
ok, i get it now. and your script works totally.
not that you havent helped me out enough already, but im looking to put a user controlled stop/start option with an onclick applied to each image...
this is what i have so far... i was thinking i would throw the entire set interval into a variable (startStop), but again its tricky with 3 separate slideshows:
...Code:var q = 1; function pStopGo() {Leave a comment:
-
No worries, I just put it in three separate functions and called those three separate functions and it all worked out... i am curious as to why the slide show kept speeding up though...?
Thanks again for your help,
SteveLeave a comment:
-
Hey thanks for the prompt reply,
It worked perfect. However, I forgot to mention that I want to have this random slideshow functioning simultaneously in 3 separate divs that are side by side. Each div will have random pictures and random timing. I naturally just multiplied your code by 3 and stuck it all into allPlantPick, but when I tested it, it created this crazy situation where the random timing kept speeding up until it crashed...Leave a comment:
-
setting a random time interval for a slideshow?
hi,
this should be simple but its stumping me,
I am trying to make a slideshow that pulls random images at a random time interval (between 1 and 4 seconds). The images part works fine, and I can get the time function to create a random number, but that number doesnt change throughout the duration of the slideshow. I would like the duration to reset itself and changefor every picture that is displayed. Here is my code:... -
Hi,
Its not working for me...
I assume I should be filling var childWindows with the names of my child windows? Or the URLs?
Are you sure this can be done? It would be great if it worked but I was just reading that child windows quite simply cant talk to each other...?
CheersLeave a comment:
-
Javascript: Child windows talking to each other???
Hi,
Im trying to design a fun page where a after an onclick on the parent page, several small child windows are opened. Upon clicking the content of any of those windows, I want all of the child windows to close. I can get self.close() to close the clicked window, but I cannot communicate with the other child windows, even if I reference them by their name, ie winName.close() ... are there special rules for doing this?
... -
Thanks for the input. The changes worked, and thank you Logician for shortening my code by about 47 lines... this is what learning is all about. Speaking of... while I am grateful that it works now, Im still curious as to why my original code worked in safari and worked in firefox if I DIDNT put a doctype, but didnt work in firefox with a doctype... any thoughts?
CheersLeave a comment:
-
Specifying a DOCTYPE breaks my JavaScript....
hi,
im fairly new to javascript.
im designing a web page that gives random background colors to some divs. everything works great until i put a DTD (document type definition) at the top of my code. im looking for reasons as to why this is...? I would like to use the DTD to avoid other problems (like quirks mode IE6 etc...)
my page (as I want it to look - without the DTD) can be found at:
http://www.stevenewber ry.com/experimental/index3.html...
No activity results to display
Show More
Leave a comment: