Iframed

DerekMTL / 2012-08-22 21:35:17   

Hello!

I had used the iframed plugin on my old site to load my tumblr blog into my portfolio site, but sadly it no longer works with 2.0

  1. I can get it to load into a small frame if i change the code from
  2. <div><plug:ndxz_iframed url='derekbroad.tumblr.com/' /></…;
  3. to 
  4. <plugin:ndxz_iframed url='derekbroad.tumblr.com/' /…;
So i can get a small box with scoll bars if i go from plug: to plugin: and take away the tags.

Any help to get it back would be much appreciated. I am also using the new indexpand menus, as a saw there was a post that said this my be causing a conflict?
Thanks!

derekbroad.com/new/index.php/illustration/tumblr/

Vaska A / 2012-08-22 21:39:24   

Shoot...I'm going to look at the Indexpand problem right now. If you stick around maybe you can test it out for us...

iframed is now built-in - you need to 'create' an 'index link' and add your url there.

I'll post back about indexpand in a few mins...

DerekMTL / 2012-08-22 21:42:16   

Sorry, I think the code got all messed,

I just changed plug:ndxz_iframed to plugin:ndxz_iframed and it works, but the frame is small and has scroll bars.

Thx

Vaska A / 2012-08-22 21:51:59   

You can change line 90 of /ndxzsite/js/jquery.indexpand.js to this:

  1. b = (b != false) ? b.replace('section_', '') : '';

You still need to create a new Tumblr page as an 'index link'. The ndxz_iframed plugin works differently now.

DerekMTL / 2012-08-22 21:53:01   

I'll try this out and report back, Thank you!

DerekMTL / 2012-08-22 22:01:10   

It worked! I didn't know about the index link feature, very nice.
I do have double scroll bars though, is there any way or removing these?
Here is the new page,

derekbroad.com/new/index.php/illustration/tumblr2/

Vaska A / 2012-08-22 22:13:19   

You can't put padding on body - remove this...

  1. padding-right: 5px;

There might be other changse to CSS but start with that one and see how it improves.

DerekMTL / 2012-08-22 22:25:44   

Okay, I did that and it still has the scroll bars, although now they are kind of hidden unless i scroll to the right. I can't see any other padding i added in my css.

byronfelt / 2012-08-22 22:32:31   

Same problem here...

byron.feltcollective.com/index.php/social/5-pg/

It loads a small frame with scroll bars...

Vaska A / 2012-08-22 22:40:33   

Guys, where I am it's late - I'm about to go to sleep.

Can you leave these pages up so I can look at them in the morning?

byronfelt / 2012-08-22 22:41:40   

yeap

Vaska A / 2012-08-22 22:43:19   

Thanks

DerekMTL / 2012-08-22 23:03:41   

For sure, thanks for all you help!

Vaska A / 2012-08-23 12:10:30   

Guys, I'm looking into this right now...

Vaska A / 2012-08-23 13:08:38   

Guys, try adding this to line 17 (or thereabouts) of /ndxzsite/plugin/plugin.ndxz_iframed.php:

  1. $css = "#exhibit .container { padding: 0; overflow: hidden; }
  2. body { overflow: hidden; }";

See how that goes...

DerekMTL / 2012-08-23 14:21:48   

Hey Vaska, This worked perfectly! Thank you!

Just as a side note, there seems to be some problems in google chome where the images are not click-able but all other links are working in the iframe. Not sure if this is a chrome, tumblr theme, or iframe problem. Anyways, just a heads up in case anyone else has this problem. I'm using the "cargo" theme if that is any help.

Firefox works perfect now!

Cheers

Vaska A / 2012-08-23 16:49:18   

I can't click from Safari either - I have a hunch it's a javascript issue. I can, click on the links at the right though - really weird.

byronfelt / 2012-08-24 17:58:34   

nope! it didn't work for me..

byron.feltcollective.com/index.php/social/5-pg/

It is still small

Vaska A / 2012-08-24 18:09:10   

Did you add the fix to the indexpand file? I don't believe you did...

byronfelt / 2012-08-24 21:12:41   

I am pretty sure I did it right.

If you check the page now the navigational bars are gone but the frame is still tiny!

byron.feltcollective.com/index.php/social/5-pg/

byronfelt / 2012-08-24 21:22:09   

ops sorry my mistake I didn't follow step one!

byronfelt / 2012-08-24 21:30:55   

ty Vaska,now it works fine!

This thread has been closed, thank you.