Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 8    Views: 60

MM2000
Aspiring developer
Profile
Posts: 207
Reg: Sep 06, 2011
Los Angeles
2,820
12/23/13 12:50 PM (11 years ago)

IFrame not working

Hey all, So as of recent I can't get my iFrame to work. Prior I had no problem with it. Here is the iFrame code that works: <p> <meta content="width=320" initial-scale="2.0" name="viewport" user-scalable="3" /> <iframe frameborder="0" height="960" scrolling="no" src="https://www.google.com/calendar/embed?showTitle=0&amp;showPrint=0&amp;showTabs=0&amp;showCalendars=0&amp;showTz=0&amp;height=960&amp;wkst=1&amp;bgcolor=%23FFFFFF&amp;src=mike%40mm2000.net&amp;color=%2323164E&amp;src=en.usa%23holiday%40group.v.calendar.google.com&amp;color=%23691426&amp;ctz=America%2FLos_Angeles" style=" border-width:0 " width="640"></iframe></p> And here is what I'm trying to get to work: <p> <iframe frameborder="0" height="600px" marginheight="0px" marginwidth="0px" name="Events" scrolling="yes" src="http://www.shaarshalom.ca/events/" style="border:0px #FFFFFF none;" width="468px"></iframe></p> Why is the new iFrame not working and the old one works fine? Thanks in advance!
 
Niraj
buzztouch Evangelist
Profile
Posts: 2943
Reg: Jul 11, 2012
Cerritos
37,930
like
12/23/13 02:10 PM (11 years ago)
Hey there fellow Los Angeles person! Are you aware of the San Diego Buzzday on Jan 25th? Private message me as to your location, perhaps we can meetup to talk BT and other stuff! -- Niraj
 
MM2000
Aspiring developer
Profile
Posts: 207
Reg: Sep 06, 2011
Los Angeles
2,820
like
12/23/13 02:54 PM (11 years ago)
Hi Niraj, I didn't know that. Do you know how to fix my iFrame issue?
 
Niraj
buzztouch Evangelist
Profile
Posts: 2943
Reg: Jul 11, 2012
Cerritos
37,930
like
12/23/13 02:58 PM (11 years ago)
You don't have a height specified in the new version it seems. Also, the viewport code may be necessary. Take the old code and only change one thing at a time. Then test. Then change the next thing. Slowly but surely ... You shall find the reason. Have patience with yourself. :-) -- Niraj
 
fusionsch
I hate code!
Profile
Posts: 516
Reg: Dec 28, 2010
Montreux Switze...
11,610
like
12/24/13 04:12 AM (11 years ago)
Delete the 'px' in the values, as in your old iframe! Cheers Jack
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
12/24/13 07:11 AM (11 years ago)
Build the screen natively instead of in HTML, and you're problem goes away! :P
 
Niraj
buzztouch Evangelist
Profile
Posts: 2943
Reg: Jul 11, 2012
Cerritos
37,930
like
12/24/13 09:16 AM (11 years ago)
More than one way to skin that cat. Ha! Happy holidays :-) -- Niraj
 
MM2000
Aspiring developer
Profile
Posts: 207
Reg: Sep 06, 2011
Los Angeles
2,820
like
12/24/13 11:12 AM (11 years ago)
@fusionsch tired that, didn't work... @chris1 can't do that as it's from current webpage, and I just want specific information from it.
 
fusionsch
I hate code!
Profile
Posts: 516
Reg: Dec 28, 2010
Montreux Switze...
11,610
like
12/29/13 04:30 AM (11 years ago)
Just tried your code (the new one) by copying and pasting it in an HTML Doc screen, it works perfectly on an iPhone 5, search for the error elsewhere!
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.