I've been working on photo gallery that can be seen here: [URL] I would like the title to change according to the picture selected. This works when you click on the thumbnail images. However, it current does not work with the drop-down menu, "back" and "next" buttons, or the automatic slide-show.
i have 1 div with scrollbars and another div with a table inside. when user scroll horizontal bar in div1 i want application to scroll the table header from the same amount of pixels and in the same direction. i did not find anything under jQuery about that.. :-(
1. how can i detect in which direction the scroll is done (to the right, or to the left) ? 2. how can i determine how many pixels this scrolling is about ? 3. how to scroll the table header (table tag or th tag) from the same amount of point ?
i found just scrollLeft for now and i'm not successful to use it
I want to replace the image captions with text ones to help speed up the site. It is my home site here [URL].
A modification of the existing code seems obvious, but I have been unable to do this.
Setting: chruch multimedia computer and projection system, with 2 display monitors. The projector is connected to monitor #2.
for my gallery I am using the fallowing HTML. The Images are defined as '1.jpg', '2.jpg', '3.jpg' etc.I would like to change it to 'text.jpg'. However, when I change the image names, thumbnail names and the HTML, I only have a loading screen. So there seems to be a part of the JS which needs to be changed. Any idea how to do that?
<!DOCTYPE html PUBLIC "-W3CDTD XHTML 1.0 TransitionalEN" "http:www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http:www.w3.org/1999/xhtml">
above is the js code I use to generate a random id, which in effect displays id.jpg on the web page (assume we have id.jpg in the right folder).
When a user sees that page, he is going to choose what word describes the picture best. (purpose of CAPTCHA: verify the user is a human)
HTML Code: <select name="selected"> <option value="">Click to identify</option> <option>Clock</option> <option>Dog</option> <option>Ship</option> <option>Tree</option> </select></td><td>
The selection is sent to backend php script using POST method.
Here is my problem: In the php script, I know, for example, the user chose Dog to describe the mysterious jpg generated by js code. But there's no way for me to know the id of the jpg file generated by js code. Hence, I will not be able to check whether the user chose a valid description of the jpg file.
How can I send information about the id of the jpg file to the php script?