Hi all,
I've written a small piece of code to scroll through images in an array and fade in and out of each image (a slideshow).
I have a div, with an image inside which is the same size. By changing the image.src and div.backgroundI mage and then adjusting the opacity I can transition the images.
It works fine in firefox and safari but special-needs IE won't update the images on this line (line 15) of code;-...
User Profile
Collapse
-
Javascript slideshow problem in IE only
-
Thanks Dormlich for your prompt, concise and helpful response !
Worked a treat :-) -
How do you retrieve a <select> selected option in javascript ?
Hi,
I need to check a form (consisting mostly of select elements) and ensure that none of the values are empty/null.
Unfortunately I don't know how many select elements there will be so I need to be able to loop through as many items as there could possibly be.
Form example;-
...Code:<form id='FormID' action='action.php'> <select name='select1'> <option>Option -
Javascript fade problem - doesn't affect <table> in ie8
Hi,
Please see my website;-
http://www.footballpre dictions.comli. com/
We, in the office, like to predict the football results every week, and put a £1 bet on who gets the most correct.
Click on the ball, and it will show a div with the first elements of a form.
When you click then 'next' button, it calls to a javascript function that fades that div out, and then fades the... -
Thanks for your response Musofreak.
I have Apache and MAMP installed and running with no problems.
Irrespective of my PHP code, all I need to know is how to launch a file which is stored locally on the mac (in a folder that is not viewable by Apache server).
If I type the path from the code above into the address bar of either Safari or Firefox then it will open the file, but the link itself does not work.Leave a comment:
-
How to open local files in a mac via browser
Hi,
I am making a database based PHP site for my friend to run locally on his mac.
He wants a page where he can click on a link to his most used files - word docs etc. stored on his desktop for instance.
I thought this would be easy by using the following;-
I tested this on my PC at work (NOT on local webserver)...Code:<a href='file:///folder/word.doc'>Open file</a>
-
Ok, I have solved my problem.
It was an issue with the text length differing causing the <li>s to be longer/shorter so I have given each a set width and now it should work accross the board.
Thanks Dormlich, I have downloaded firebug, looks quite a handy little program.Leave a comment:
-
Horizontal dropdown menu position problem
Hi,
I'm struggling with a cross browser solution to position my menu ul and li elements in the same place inside a div.
I'm sure it's something simple, but any help or advice is still greatly appreciated.
This is the home page - http://amberleyknights .110mb.com/home.html
The dropdown menu on 'information' is simply a div that I have a javascript function to change the visibility from "hidden"... -
That is correct. I only need to run this on 1 page.
Thanks again for your help.Leave a comment:
-
Vielen danke Dormilich.
Ich habe mein Problem gelost.
Ich benotige nicht wenn Aussage, wahrend ich weiss, wieviele Variablen dort sind.
:-)Leave a comment:
-
For loop to retreive form data - Probably simple fix
Hi all.
I'm a noobie, so please bear with me !
I have written an html form with the following code..
I need to write the values of each select tag...Code:<select name="player1"> options.... </select> <select name="player2"> options.... </select> <select name="player3"> options.... </select> and so on.
-
Thanks for your help Jared, I actually managed to work it out in the end, but your explanation helps me to understand why this works so cheers for that (I did it a little bit backwards, but works in the same way!) Code below
...Code:variable = Request.querystring("formname") Set check = MyConn.Execute("select * from table where name='" & variable &"'")Leave a comment:
-
ASP - SQL query with where clause causes error if not returned.
Hi,
I'm fairly new to ASP and I want to check a form input against my database to see if an entry with the same name already exists and have an if..then and else clause based on this.
I think I'm going about this the wrong way as I get an error when the database doesn't find a match.
...Code:variable = Request.querystring("formname") Set check = MyConn.Execute("select * from table where
No activity results to display
Show More
Leave a comment: