iframe problem???

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
bigowner
Regular
Posts: 21
Joined: Wed Feb 08, 2006 1:49 am
Location: Türkiye
Contact:

iframe problem???

Post by bigowner »

Hi

i use html nugget for html in my side bar and i insert a iframe code into it. It works fine but when i want to add some plugin like "Top referrer , top exit or another html nugget" after my first "html nugget" they didnt appear. When i up them (before from my first html nugget which i used iframe code) they works fine...

I search forum but i cant find more info

Thank a lot
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: iframe problem???

Post by garvinhicking »

When such problems happen you should check your HTML code with a HTML Validator like on w3c.org. The symptoms look like an unclosed HTML tag in your code.

What'S your serendpity url?

REgards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
bigowner
Regular
Posts: 21
Joined: Wed Feb 08, 2006 1:49 am
Location: Türkiye
Contact:

Post by bigowner »

http://www.boshver.com/blog


and it is my iframe code

Code: Select all

<iframe marginwidth="0" marginheight="0" src="http://www.boshver.com/1.htm" frameborder="0" width="120" scrolling="no" height="600" />
i call this file

Code: Select all

http://www.boshver.com/1.htm
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Actually, that is not your iframe code. The iframe code on your site is this:

Code: Select all

<iframe marginwidth="0" marginheight="0" src="http://www.boshver.com/1.htm" frameborder="0" width="120" scrolling="no" height="600">
Note that there is no ending "/>" in your command, which is HTML invalid. If you use exactly the code you pasted, it will work.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
bigowner
Regular
Posts: 21
Joined: Wed Feb 08, 2006 1:49 am
Location: Türkiye
Contact:

Post by bigowner »

" />"

yes i know but when i paste my code without " />" at WYSIWYG it add it automaticly. I delete but it appears again
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

You should paste it WITH "/>" and not WITHOUT! The closing element is required for valid HTML!

Else, try to make it "<iframe>...</iframe>".

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply