This is a discussion on "thumbnails, target to iFrames, XHTML compliant?" within the Web Page Design section. This forum, and the thread "thumbnails, target to iFrames, XHTML compliant? are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
thumbnails, target to iFrames, XHTML compliant?
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
thumbnails, target to iFrames, XHTML compliant?
hello webforumz members!
i am making a gallery page but i haven't uploaded yet so i'll try my best to describe it. the thumbnails are in the upper portion of the page, and i have an iFrame below them where i want the photos to be displayed as opposed to opening a new window. so far its going great, but all the styling is in my markup including target, borders etc which isnt XHTML 1.0 compliant. i'd also like the photos to be center-aligned if possible. how do i do this? maybe not using frames? what about the embed or object tags? any help is appreciated! Last edited by belledumonde; Jun 10th, 2006 at 02:34. |
|
|
|
#2
|
|||
|
|||
|
Re: thumbnails, target to iFrames, XHTML compliant?
XHTML 1.0 doesn't stop you from having embeded css but you are far better having your css into a seperate file. It makes the downloads lighter and quicker.
Why not try loading the images into a div whose position and visibility you could control through css. |
|
#3
|
|||
|
|||
|
Re: thumbnails, target to iFrames, XHTML compliant?
my css is in a seperate file, but when i try to assign attributes to the iframe ex.
Last edited by belledumonde; Jun 10th, 2006 at 23:14. |
|
#4
|
||||
|
||||
|
Re: thumbnails, target to iFrames, XHTML compliant?
You would lose the iframe all together and replace it with a simple div on the page which held your photo, one div per photo.
With CSS, use absolute positioning to keep them all in the same place. With javascript, use an 'onmouseclick' to make them appear, disappear. I did it here: http://www.fuddruckersne.com/menu/ |
|
#5
|
|||
|
|||
|
Re: thumbnails, target to iFrames, XHTML compliant?
oh cool, that is exactly what i want. its just one page, not a whole collection of photos. does each photo have to be in its own div? can i use a scrolling div?
how did you do it? can you talk me through it please? that would be awesome! (im actually excited now, haha! ive been perplexed by this gallery thing im doing for some time now.) Last edited by belledumonde; Jun 10th, 2006 at 23:58. |
|
#6
|
||||
|
||||
|
Re: thumbnails, target to iFrames, XHTML compliant?
Quote:
And this one (javascript): http://www.fuddruckersne.com/scripts/menu-hide.js And this one (CSS): http://www.fuddruckersne.com/styles/screen.css Copy/paste the bits from those three files, do some experimenting, and teach yourself how. Anything much more than that and I'd have to send you an invoice |
|
#7
|
|||
|
|||
|
Re: thumbnails, target to iFrames, XHTML compliant?
cool, thanks!
|
![]() |
| Tags |
| thumbnails, target, iframes, xhtml, compliant |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| ADA Compliant Audio | Kristina | Web Page Design | 4 | Apr 4th, 2007 11:34 |
| XHTML Target | JacobHaug | Web Page Design | 7 | Jan 4th, 2007 11:55 |
| Embedded Flash into XHTML compliant | Dotty | Flash & Multimedia Forum | 3 | May 17th, 2006 14:50 |
| Compliant Flash? | timmytots | Web Page Design | 5 | Nov 30th, 2005 12:00 |
| Why be compliant? | jpmitchell | Web Page Design | 12 | Aug 25th, 2005 17:26 |