Webforumz's RSS FeedRSS Webforumz RegistrationRegister Contact Webforumz StaffContact

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.


 Subscribe in a reader

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

Notices




Reply
 
LinkBack Thread Tools
  #1  
Old Jun 10th, 2006, 03: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 03:34.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2  
Old Jun 10th, 2006, 18:04
Most Reputable Member
Join Date: Apr 2006
Location: Cornwall, UK
Posts: 1,310
Thanks: 0
Thanked 0 Times in 0 Posts
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old Jun 11th, 2006, 00: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 11th, 2006 at 00:14.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old Jun 11th, 2006, 00: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
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/
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5  
Old Jun 11th, 2006, 00: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 11th, 2006 at 00:58.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6  
Old Jun 11th, 2006, 01: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
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #7  
Old Jun 11th, 2006, 01: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!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
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 12:34
XHTML Target JacobHaug Web Page Design 7 Jan 4th, 2007 12:55
Embedded Flash into XHTML compliant Dotty Flash & Multimedia Forum 3 May 17th, 2006 15:50
Compliant Flash? timmytots Web Page Design 5 Nov 30th, 2005 13:00
Why be compliant? jpmitchell Web Page Design 12 Aug 25th, 2005 18:26


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


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC8