HTML - Issues With Gallery Navigation
I'm working on the navigation the navigation for an image gallery I'm working on, but have run into some problems. It works fine in Firefox and Safari, but doesn't work in IE6, IE7, and Opera, and I can't for the life of me figure out why.
The previous link and next link appears when they hover over the right and left side of the picture. I think it might be a problem with z-index, and the two link pictures getting stuck under the image in the image gallery, but I'm not sure. I've included a example file with the problem. Any and all help is appreciated. Code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head profile="http://gmpg.org/xfn/11"> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>Example</title> <style type="text/css" media="screen"> #test { margin:0; padding:0; position:relative; top:0; left:0; width:800px; height:640px; background-color: #000; } #nav{ position:absolute; left:0; top:0; z-index:999; width:100%; height:100%; } #Next,#Prev{ position:absolute; display:block; width:50%; height:100%; outline:none; top:0; } #Next{right:0;} #Prev{left:0} #Next:hover{ background:transparent url(next.gif) no-repeat 100% 30%; } #Prev:hover{ background:transparent url(prev.gif) no-repeat 0% 30%; } #image{ display:block; } </style> </head> <body> <div id="test"> <div id="nav"> <a href="#" id="Prev"></a> <a href="#" id="Next"></a> </div> <img id="image" src="grass.jpg" alt="image" /> </div> </body> </html> Similar TutorialsHi am coding a new website the the moment but i am testing a few things, i am wondering if somebody could help me. Basically the issue it the links sit to high on the navibar but when i add a break they sit to low. Is there a code which can enable me to get it to sit in the middle. The link on the navibar is text not images. I look forward to the feed back. if you would like so see what the problem is i can post the website URL here is the URL http://www.ycn-hosting.eu/newsite/ Kind Regards Hello to everyone, Brand new here and need help with something that has not been covered here. I am trying to implement a new gallery script on my website. The script requires an <ul> of images to make it work. Example: <ul class="gallery"> <li><img src="img/architecture11.jpg" alt="architecture11" title="architecture11 Caption"></li> </ul> My question, as i have around 100 images for each album will i have to code each line manually... it would take forever! Many thanks. Maggi. I'm trying to create a web page that allows my thumbnail photos to link to an enlarged version of the same image right above the thumbnails. So lets say I have 4 thumbnails lined up, I could click on either one, and a larger version of the image would appear, centered, above. If I clicked another image, the previous enlarged image would go away, and the newly clicked image would display, enlarged, in place where the last one was. I know you can do something similar with a mouseover code with Java script. I'm looking to strictly create something for a single page with HTML. Anyone have some insight? Hi, Does anyone know how you make a gallery to this one http://www.suecorr.com/page2.htm, where the image pops up when you click on it and darkens the background, and also gives you the option to move on to the next image. Thanks Dyfrig I was wondering if it was possible to past an Image over an image WITHOUT backround img code. But my MAIN q. was if there was a win7 equivelant to galleryimage=no. I'm building a website and i'm new to this. I want to build a gallery section on my site. Here's how I want it to work. I want people to be able to upload there own pictures in it themselves. It's main page will be the thumbnails with small description deside it. When a thumbnail is clicked, it open a pop-up with the picture with a resolution of 600x400 with description under it the person added while uploading the picture. After when the 600x400 picture is clicked that pop-up window will closed and another one with its orginal resolution will open. Clicking again will cause is to close. I also want to add a search engine in there with search options such as category, newly added, latest added, user... If anyone know ann extention for dreamweaver for it or something with frontpage please let me know. any help at all will be appreciated and thanked. hjghjghjgjkgjg I am attempting to set up a gallery. My goal is to have it look some what like this with the right being thumbnails and the left side a full-view, thumbs opening in the full view window when clicked. My issue is how to target the left side, I could set up frameset's but I have no experience working with them so would like to avoid if possible. What I am wondering is if there would be a way to manage it with div's and how one would go about targeting it as a display space. Thanks in advance for any advice on the matter. Hi Can anyone point me in the direction of some decent HTML code for a photo gallery, Im getting fed up with people not being able to open my falsh ones so im going back to basics. I want something that wont need loads of changes each month, something that will require little set up, Iv about 30 photos each weeke i need to put up online... any ideas? Hello there, This problem might belong in the serverside section, but it seems to be syntax related, so I'll post it here for now. The current problem can be seen at: http://urkedaljenssen.no/hp/gallery/images/photography/ (The thumbnails become black X's, but do not worry about this, it is a different problem altogether. This is just an example of the application in use) The application in question is Simpleviewer, located at: http://www.airtightinteractive.com/simpleviewer/ (free application) The automated script in which the problem is located is he http://www.airtightinteractive.com/s..._instruct.html (PHP version) Problem: When trying to execute the script, having chmod'ed everything to 777 on all levels, it displays syntax error on line 408. I have checked line 408 in the script and this is the doctype declaration, I can't see any errors in it, but perhaps a fresh pair of eyes can as I have been working Thank you. Hi everyone, Someone suggested that I use php to create a gallery for my site. I've never used php, and I want a simple click through gallery. (in the circle.) can anyone please recommend a script? http://imageupload.org/?d=4DA74E611 This is my layout. hey I'm working on a video gallery, and here is the basic code: Code: <!-- Start Videos --> <div id="Watch a video"> <img src="WatchAVideo.jpg" alt="Click a video below to watch!" /> </div> <div id="Video1" style="display: none;"> <iframe width="560" height="315" src="http://www.youtube.com/embed/Video1" frameborder="0" allowfullscreen></iframe> </div> <div id="Video 2" style="display: none;"> <iframe width="560" height="315" src="http://www.youtube.com/embed/Video2" frameborder="0" allowfullscreen></iframe> </div> <div id="Video 3" style="display: none;"> <iframe width="560" height="315" src="http://www.youtube.com/embed/Video3" frameborder="0" allowfullscreen></iframe> </div> <div id="Video 4" style="display: none;"> <iframe width="560" height="315" src="http://www.youtube.com/embed/Video4" frameborder="0" allowfullscreen></iframe> </div> <!-- End Videos --> <!-- Start Thumbnails --> <a href="#" clicktoshow="Video 1" clicktohide="Watch a video,Video 2,Video 3,Video 4"> <img src="thumbnail-1.jpg" /> </a> <a href="#" clicktoshow="Video 2" clicktohide="Watch a video,Video 1,Video 3,Video 4"> <img src="thumbnail-2.jpg" /> </a> <a href="#" clicktoshow="Video 3" clicktohide="Watch a video,Video 1,Video 2,Video 4"> <img src="thumbnail-3.jpg" /> </a> <a href="#" clicktoshow="Video 4" clicktohide="Watch a video,Video 1,Video 2,Video 3"> <img src="thumbnail-4.jpg" /> </a> <!-- End Thumbnails --> I am aware that "Clicktoshow" and "Clicktohide" are NOT working HTML codes, But i wanted to know how I can do it so it does work. Any ideas? I want to make a gallery. What is the best way to do this? I've heard of something called coppermine, but I don't quite understand it.. Is there someone willing to help me, and to explain properly step by step how to make a photo gallery the best way? Hi people. I'm looking for a small script, preferably CSS. Not really looking for table, or JavaScript.. Here is what I'm looking for in the way the images are set up; Thanks -- Chris Hi everyone! I am redesigning my website. It is an illustration website, and it needs to have a portfolio. I need some help with the gallery navigation. I want people to use the arrow keys to move between images, and I want the image to be in the circle. How should I do this? I don't want to use frames, and I also don't want to make an entire new page for each image. Any tips? Thank you! http://imageupload.org/?d=4DA74E611 I want to implement a thing like Myspace, Facebook, etc where guests can make comments on my images... I just want the guest to have to enter a name, and a comment, no signing up or anything. http://www.pzproductions.com/largeimages Hi everyone. I'm after an image gallery for my site like the one found here . I have found the Ajax image gallerys quite nice, but don't have the ability to scroll through the thumbnails if there is more than, say, 5 displayed. Does anybody know of any similar scripts or whatever to get a better result to the mentioned website. TIA, n00b Daniel Hello Again! I am attempting to add a photo gallery to my website. (I do not wish to use someones software.) I want to learn the code for creating a photo gallery myself. Would anyone care to share thier knowledge? I promise to give credit where credit is due! I want to add an html page to my website that is...well...a Photo Gallery, but It requires knowledge of CSS/xhtml, and THAT is something that I am still learning. Thanks! I downloaded a free Flash photo gallery online. I uploaded my pictures into the gallery correctly and ran it on my local machine flawlessly. However, when I uploaded it to my site, the pictures are not showing up. The jpegs were correctly uploaded, so I'm not sure what the problem is. Heres the link if you want to check the code... http://kosscollision.com/Templates/h...wer/viewer.swf Any help would be appreciated! |