thumbnails, target to iFrames, XHTML compliant?

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.



Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Jun 10th, 2006, 02:30
Junior Member
Join Date: Jun 2006
Location: Philippines
Age: 20
Posts: 28
Thanks: 0
Thanked 0 Times in 0 Posts
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.
Reply With Quote

  #2 (permalink)  
Old Jun 10th, 2006, 17:04
Most Reputable Member
Join Date: Apr 2006
Location: Cornwall, UK
Posts: 1,310
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Skype™ to ukgeoff
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.
Reply With Quote
  #3 (permalink)  
Old Jun 10th, 2006, 23:12
Junior Member
Join Date: Jun 2006
Location: Philippines
Age: 20
Posts: 28
Thanks: 0
Thanked 0 Times in 0 Posts
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.
Code: Select all
iframe {border:0;frameborder:0;width:300px;height:300px;}
it's totally messed up in IE. so i put that in the markup

Code: Select all
<iframe border="0" frameborder="0" width="300" height="300">
</iframe>
and it doesnt validate. somebody mentioned php and javascript to me. i dont know what that does. can someone explain?

Last edited by belledumonde; Jun 10th, 2006 at 23:14.
Reply With Quote
  #4 (permalink)  
Old Jun 10th, 2006, 23:35
herkalees's Avatar
Highly Reputable Member
Join Date: Jul 2005
Location: Massachusetts, USA
Age: 87
Posts: 576
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to herkalees Send a message via MSN to herkalees Send a message via Yahoo to herkalees
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/
Reply With Quote
  #5 (permalink)  
Old Jun 10th, 2006, 23:56
Junior Member
Join Date: Jun 2006
Location: Philippines
Age: 20
Posts: 28
Thanks: 0
Thanked 0 Times in 0 Posts
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.
Reply With Quote
  #6 (permalink)  
Old Jun 11th, 2006, 00:27
herkalees's Avatar
Highly Reputable Member
Join Date: Jul 2005
Location: Massachusetts, USA
Age: 87
Posts: 576
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to herkalees Send a message via MSN to herkalees Send a message via Yahoo to herkalees
Re: thumbnails, target to iFrames, XHTML compliant?

Quote:
Originally Posted by belledumonde
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.)
View the source of this page: http://www.fuddruckersne.com/menu/

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
Reply With Quote
  #7 (permalink)  
Old Jun 11th, 2006, 00:41
Junior Member
Join Date: Jun 2006
Location: Philippines
Age: 20
Posts: 28
Thanks: 0
Thanked 0 Times in 0 Posts
Re: thumbnails, target to iFrames, XHTML compliant?

cool, thanks!
Reply With Quote
Reply

Tags
thumbnails, target, iframes, xhtml, compliant

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

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


All times are GMT. The time now is 09:05.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43