Page 1 of 1

HTML nugget with iframe

Posted: Wed Aug 30, 2006 3:47 pm
by deurk
Hello everyone,

I have a trouble with an iframe from radio.blog that I try to have in a HTML nugget. It kinda works (as seenable at http://test.nizoux.com on the bottom right) but it has 2 troubles:

- I HAVE TO put it at the end of the plugins list or the next lpugins won't be displayed
- When going to the previous articles page, the nugget actually displays a part of the Archives page instead of the radio.blog thingie.


HELP :D
(My daughter is counting on you :P)

Re: HTML nugget with iframe

Posted: Wed Aug 30, 2006 7:27 pm
by garvinhicking
Hi!

Into your 'src' of the <iframe> tag you must put an absolute URL! Like http://yourblog/radio.blog/index.php! Otherwise it thinks it is a relative link, and thinks you link to

http://test.nizoux.com/archives/radio.blog/index.php

!

HTH and best regards to your daughter :)

Garvin

Posted: Wed Aug 30, 2006 7:28 pm
by deurk
I'll try that right away! :D
Will it correct the fact that it HAS to be the last plugin?

Posted: Wed Aug 30, 2006 7:35 pm
by garvinhicking
Hi!

I hope this will fix the problem of it being the last plugin, but I can't really tell. Maybe you could set it to the top and show me the page again, then I could have a look at it?

Best regards,
Garvin

Posted: Wed Aug 30, 2006 7:35 pm
by deurk
Ok works for the change of page, but not for the plugin position. It still has to be the last plugin otherwise further plugins won't display.

Posted: Wed Aug 30, 2006 7:36 pm
by deurk
Just saw your answer, putting it to top.

Posted: Wed Aug 30, 2006 7:40 pm
by garvinhicking
Hi!

<iframe .. /> is not supported by most browsers. Try to use <iframe ...></iframe> instead! That should then properly be displayed!

If you look in your HTML sourcecode you'll see that all the other plugins are there; just your browser stalls at parsing the <iframe> tag.

Best regards,
Garvin

Posted: Wed Aug 30, 2006 7:42 pm
by deurk
Hmmm... I think I got it working but not sure why what I did did the trick:

In the iframe src, instead of an relative url (radio.blog/...) or an complete absolute url (http://test.nizoux.com/radio.blog/...), I tried the small absolute version (/radio.blog/...) and it worked.

Maybe you can guess why it worked :)

Posted: Wed Aug 30, 2006 7:46 pm
by deurk
Weird thing is that I actually copy/pasted <iframe></iframe> but some other plugin like XHTML must have changed it :)

Here is what I got that works:

Code: Select all

<iframe width="220" scrolling="no" height="320" frameborder="0" name="radio" src="/radio.blog/index.php">&lt;/body&gt;
&lt;/html&gt;&lt;/HTML&gt;</iframe>

Posted: Wed Aug 30, 2006 7:59 pm
by deurk
Weird though... I don't have any XHTML plugin except the Browser compatibility. Could it be it?

And that code pasted above seems WEIRD with the </body></html>

Posted: Wed Aug 30, 2006 8:06 pm
by garvinhicking
Hi!

Are you posting that iframe code with the WYSIWYG editor? That one could mess up with your code. No other XHTML markup plugin or so would transform the <iframe> links...?!

Best regards,
Garvin

Posted: Wed Aug 30, 2006 8:14 pm
by deurk
Hmmm yeah. I should then disable the WYSIWIG and paste it eh?

Posted: Fri Sep 08, 2006 9:18 am
by deurk
Forgot to say that of course it worked perfectly :P