HighDots Forums  

iframe in STRICT

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss iframe in STRICT in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Karlhevera
 
Posts: n/a

Default iframe in STRICT - 08-09-2008 , 03:32 AM






I have used iframes to redirect the visitor to a supplier's site. iframes is NOT supported in STRICT. What would be the alternative? I have found OBJECT described alsewhere..

Reply With Quote
  #2  
Old   
kim
 
Posts: n/a

Default Re: iframe in STRICT - 08-09-2008 , 05:26 AM






change your doc type

Karlhevera skrev:
Quote:
I have used iframes to redirect the visitor to a supplier's site. iframes is NOT supported in STRICT. What would be the alternative? I have found OBJECT described alsewhere..

--
Kim
---------------------------
http://www.geekministry.com



Reply With Quote
  #3  
Old   
kim
 
Posts: n/a

Default Re: iframe in STRICT - 08-09-2008 , 05:37 AM



iframe is not allowed in strict

kim skrev:
Quote:
change your doc type

Karlhevera skrev:
I have used iframes to redirect the visitor to a supplier's site.
iframes is NOT supported in STRICT. What would be the alternative? I
have found OBJECT described alsewhere..


--
Kim
---------------------------
http://www.geekministry.com



Reply With Quote
  #4  
Old   
Karlhevera
 
Posts: n/a

Default Re: iframe in STRICT - 08-09-2008 , 12:51 PM



[q]Originally posted by: Karlhevera
I have used iframes to redirect the visitor to a supplier's site. iframes is
NOT supported in STRICT. What would be the alternative? I have found OBJECT
described alsewhere..[/q]

Change the DOCTYPE.... Oh, how often have I heard this advice? Surely, this
is NOT the solution. But a simple, easy, cop out, without paying proper
attention to the problem. I have read somewhere that OBJECT is the
alternative. I would be inclined to think that those who develop all the clever
lines, deprecated iframes, without coming up with a soluton...





Reply With Quote
  #5  
Old   
Murray *ACE*
 
Posts: n/a

Default Re: iframe in STRICT - 08-09-2008 , 01:06 PM



The problem really is that you are choosing a doctype that you are not yet
ready to support in your capabilities. Change the doctype to one that is
more consistent with your experience and your understanding of standards.
There is nothing wrong with building HTML Loose pages, as long as you are
comfortable doing so.


--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
==================

"Karlhevera" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
[q]Originally posted by: Karlhevera
I have used iframes to redirect the visitor to a supplier's site. iframes
is
NOT supported in STRICT. What would be the alternative? I have found
OBJECT
described alsewhere..[/q]

Change the DOCTYPE.... Oh, how often have I heard this advice? Surely,
this
is NOT the solution. But a simple, easy, cop out, without paying proper
attention to the problem. I have read somewhere that OBJECT is the
alternative. I would be inclined to think that those who develop all the
clever
lines, deprecated iframes, without coming up with a soluton...






Reply With Quote
  #6  
Old   
kim
 
Posts: n/a

Default Re: iframe in STRICT - 08-09-2008 , 01:37 PM



Quote:
Change the DOCTYPE.... Oh, how often have I heard this advice?
Why... there is nothing wrong with a loose doctype. You set the level of
strictness... not your doctype!

Surely, this
Quote:
is NOT the solution.
Why?

But a simple, easy, cop out, without paying proper
Quote:
attention to the problem.
What?

I have read somewhere that OBJECT is the
Quote:
alternative.
So this would be a better solution that switching doctype... I'm not
sure I follow your logic here!

I would be inclined to think that those who develop all the clever
Quote:
lines, deprecated iframes, without coming up with a soluton...
A solution to what?

--
Kim
---------------------------
http://www.geekministry.com



Reply With Quote
  #7  
Old   
Karlhevera
 
Posts: n/a

Default Re: iframe in STRICT - 08-10-2008 , 03:15 AM



[q]Originally posted by: Newsgroup User
Quote:
Change the DOCTYPE.... Oh, how often have I heard this advice?


A solution to what?
--
Kim

How to show an external site within your own page.

Are you saying that all those people who wish to display an external website
in the page, simply change the DOCTYPE? Of only that particular page?

Murray: If we all stayed within our own capabilities and understanding of
things, the learning process would not exist. So, I want to learn, perhaps NOT
as fast as you might imagine, that I would, but I am prepared to learn at my
own pace.. So, I want to know the alternative to iframes? As there are
people, who might not know much about chemistry, but they tinker with waste
fuels to produce gas for their car...:-)





Reply With Quote
  #8  
Old   
kim
 
Posts: n/a

Default Re: iframe in STRICT - 08-10-2008 , 04:12 AM



Quote:
How to show an external site within your own page.
Just out of curiosity why is it you want to show an external page within
your own page? If it dynamic stuff you could show it in a div with
overflow set to auto... then you could style that so it looked as an
Iframe if that's what you want.

Quote:
Are you saying that all those people who wish to display an external website
in the page, simply change the DOCTYPE? Of only that particular page?
Yes. Use the appropriate doc type that fits the page. That's what they
are there for. It's not to keep the W3C validator happy

--
Kim
---------------------------
http://www.geekministry.com



Reply With Quote
  #9  
Old   
Karlhevera
 
Posts: n/a

Default Re: iframe in STRICT - 08-10-2008 , 06:03 AM



[q]Originally posted by: Newsgroup User
Quote:
How to show an external site within your own page.
Just out of curiosity why is it you want to show an external page within
your own page? If it dynamic stuff you could show it in a div with
overflow set to auto... then you could style that so it looked as an
Iframe if that's what you want.

My website has a number of events/books listed under various categories.
When the visitor wants to see more details, he/she can click through to the
event's own website, if there is one. The website is still contained within my
own page. Simply, because I want to.. There has been only one objection from
Kew Gardens, to this method. You can see what I am talking about at
www.gardensoflondon.co.uk. Go to 'publications/books' and click on any of the
amazon links.

I found a Frech site at :
http://joliclic.free.fr/html/object-tag/en/

which has lots of stuff relating to objects and much more. But their examples
do not show code for an external site. Just to try my luck, I copied the
code, adjusted it and it WORKS. Without altering the DOCTYPE. But at the very
beginning of the show, I get a frame, the size of the new window, with 'the
image not found' icon in top left. But a second or so later, the Amazon page
loads in its full glory....

<object data="http://www.amazon.co.uk/dp/0711220395/?tag=httpwwwgard08-21"
type="text/html" width="600" height="400" alt:="text<a
href=""http://www.amazon.co.uk/dp/0711220395/?tag=httpwwwgard08-21"</a>
</object>
would any of you know what adjustment I have to make, to eliminate the
original glitch?







Quote:
Are you saying that all those people who wish to display an external
website
in the page, simply change the DOCTYPE? Of only that particular page?
Yes. Use the appropriate doc type that fits the page. That's what they
are there for. It's not to keep the W3C validator happy

--
Kim
---------------------------
http://www.geekministry.com

[/q]





Reply With Quote
  #10  
Old   
kim
 
Posts: n/a

Default Re: iframe in STRICT - 08-10-2008 , 07:09 AM



Hi,

Quote:
My website has a number of events/books listed under various categories.
When the visitor wants to see more details, he/she can click through to the
event's own website, if there is one. The website is still contained within my
own page. Simply, because I want to.. There has been only one objection from
Kew Gardens, to this method. You can see what I am talking about at
www.gardensoflondon.co.uk. Go to 'publications/books' and click on any of the
amazon links.
Ok. Well that's your choice to do so. Personally I would just open this
in a new window using target_blank. I'd use target_blank because it can
be difficult to find your way back if you go all the way through check
out etc at Amazon.

Quote:
I found a Frech site at :
http://joliclic.free.fr/html/object-tag/en/

which has lots of stuff relating to objects and much more. But their examples
do not show code for an external site. Just to try my luck, I copied the
code, adjusted it and it WORKS. Without altering the DOCTYPE.
It seems as you have a believe that changing doc type is bad. It's not.
For instance using frames (or Iframes... AFAIK) you should use the
frameset dtd... and not try to circumvent whatever doctype you have in
your pages.

But at the very
Quote:
beginning of the show, I get a frame, the size of the new window, with 'the
image not found' icon in top left. But a second or so later, the Amazon page
loads in its full glory....
If you're happy with this solution then go for it. It's your site and
you probably know your visitors better than I do But I find scrolling
sideways annoying as hell!

Quote:
object data="http://www.amazon.co.uk/dp/0711220395/?tag=httpwwwgard08-21"
type="text/html" width="600" height="400" alt:="text<a
href=""http://www.amazon.co.uk/dp/0711220395/?tag=httpwwwgard08-21"</a
/object
would any of you know what adjustment I have to make, to eliminate the
original glitch?








Are you saying that all those people who wish to display an external
website
in the page, simply change the DOCTYPE? Of only that particular page?

Yes. Use the appropriate doc type that fits the page. That's what they
are there for. It's not to keep the W3C validator happy

--
Kim
---------------------------
http://www.geekministry.com

[/q]




--
Kim
---------------------------
http://www.geekministry.com



Reply With Quote
Reply




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.