d2jsp
Log InRegister
d2jsp Forums > Off-Topic > Computers & IT > Programming & Development > Html5 Iframes > Display Images?
12Next
Add Reply New Topic New Poll
Member
Posts: 35,456
Joined: Jan 25 2009
Gold: 1,173.00
May 5 2013 07:20am
Well my thumb drive died and I lost my toolbox and all previous work. (Didn't back it up either. :wallbash: )

I forgot how to display images using an iframe and a separate iframe page. Does anyone know how? Thanks.
Member
Posts: 35,456
Joined: Jan 25 2009
Gold: 1,173.00
May 5 2013 07:31am
*Epic facepalm* :bonk:

I forgot an equals sign... that's why nothing worked.
Member
Posts: 11,610
Joined: Oct 28 2008
Gold: 1,795.00
May 5 2013 08:45am
Quote (NinjaSushi2 @ May 5 2013 08:20am)
Well my thumb drive died and I lost my toolbox and all previous work. (Didn't back it up either.  :wallbash: )

I forgot how to display images using an iframe and a separate iframe page. Does anyone know how? Thanks.


Why on earth would you even consider this...
Member
Posts: 35,456
Joined: Jan 25 2009
Gold: 1,173.00
May 5 2013 11:42am
Consider what? Using iframe to contain images so a user can scroll through them?
Member
Posts: 11,610
Joined: Oct 28 2008
Gold: 1,795.00
May 5 2013 12:05pm
Quote (NinjaSushi2 @ May 5 2013 12:42pm)
Consider what? Using iframe to contain images so a user can scroll through them?


^^^
Member
Posts: 3
Joined: Feb 22 2012
Gold: 0.00
May 5 2013 02:23pm
Considering the same thing can be done using basic DIVs and CSS, using an iFrame would be the last thing I'd ever do.
Member
Posts: 35,456
Joined: Jan 25 2009
Gold: 1,173.00
May 5 2013 03:35pm
Oh I get extra points for "ccreativity". Graded on how the code is written, how clean, and if you added any flare or javascript, etc. Just neededa quick grade . Haha.
Member
Posts: 11,610
Joined: Oct 28 2008
Gold: 1,795.00
May 5 2013 07:15pm
Quote (NinjaSushi2 @ May 5 2013 04:35pm)
Oh I get extra points for "ccreativity". Graded on how the code is written, how clean, and if you added any flare or javascript, etc. Just neededa quick grade . Haha.


iframes are bad practice generally

if I was your prof I would dock you points, unless you're using further features of iframes in html5

I would read this http://www.html5rocks.com/en/tutorials/security/sandboxed-iframes/
Member
Posts: 35,456
Joined: Jan 25 2009
Gold: 1,173.00
May 5 2013 07:20pm
He wants iframes. I'm just glad this class is 0ver.
Member
Posts: 1,158
Joined: Oct 5 2010
Gold: 0.00
May 16 2013 08:36am
Aren't iframes deprecated in html5 to begin with?
Go Back To Programming & Development Topic List
12Next
Add Reply New Topic New Poll