PHP Web Host - Quality Web Hosting For All PHP Applications $35/month $250/year (Unlimited) - $25/month - 200,000 impressions - Your Ad Could be Here - Click For Details
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
Author Message
alexwise
Regular
Regular


Joined: Oct 15, 2005
Posts: 80

PostPosted: Tue Apr 25, 2006 2:45 pm Reply with quote Back to top

... well it does but not to everyone.

We run a radio station, and we had a iframe with a java script page in it that displayed a diff page according to the day of the week, for example Mondays page that will display the DJ's and Shows that are going to be on that day. Now we though it was working fine until we had a few people email saying they couldn't get onto the site, and after the process of elimination we found it's whas the schedule block to be the problem.
Since then we have tryed LOTS of diff type of javascript's inside the iframe to display the page of the day and it's same with every script, most people are fine but there are few that cant get onto the site because of it.

By testing it we found that the javascript on its own is fine, it's just when it's insdie the iframe block it screws people's browsers up, again not ALOT but some people.

After trying so many diff javascript codes Im thinking the only option to get something compatible is to do something in flash, but I don't want to go down that road as its a pain to update and Im rubish at flash.

Anyone got any ideas?

Thanks.
View user's profile Send private message
hitwalker
Sells PC To Pay For Divorce


Joined:
Posts: 5661

PostPosted: Tue Apr 25, 2006 5:21 pm Reply with quote Back to top

any way of showing what you have been using?
cause a simple iframe cannot realy cause such a problem..
View user's profile Send private message
alexwise
Regular
Regular


Joined: Oct 15, 2005
Posts: 80

PostPosted: Tue Apr 25, 2006 6:49 pm Reply with quote Back to top

The IFrame block code is....
Code:
$content  =  "<iframe src=\"http://www.MYSITE.com/d4w/day.html\" width=\"100%\" height=\"400\"scrolling=\"no\" frameborder=\"0\"></iframe>";


Which works fine with static pages, but the problems start when we have javascript inside it.

This is one that im using at the moment but I have used around 10 or so diff javascript codes and they all have the same problem ....

Code:
function initArray() {
this.length = initArray.arguments.length;
for (var i = 0; i < this.length; i++)
this[i+1] = initArray.arguments[i];
}
var DOWArray = new
initArray("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday");
var today = new Date();
var day = DOWArray[today.getDay()+1];
window.location = day + ".html";


Again this works fine for most people and with all firefox users, but some IE users have problems.
Some are people with new ver of IE some are old, infact I tried it with IE on my old 98 computer and it crashes IE Shocked
View user's profile Send private message
hitwalker
Sells PC To Pay For Divorce


Joined:
Posts: 5661

PostPosted: Wed Apr 26, 2006 3:02 am Reply with quote Back to top

looks normal,but its hard to satisfy everybody.
what you should do is try to find out what the people have in common.
I mean for those it doesnt work..
View user's profile Send private message
alexwise
Regular
Regular


Joined: Oct 15, 2005
Posts: 80

PostPosted: Wed Apr 26, 2006 4:31 am Reply with quote Back to top

Yeah I understand what you mean but this has been going on for about a year now I don't have time anymore.

1. It's not just one Windows version, its happens on 98 & XP & XP Pro.
2. It does it to old and new Versions of Internet explorer.
3. Some people crash, some people just freeze, and ive asked them all what other software they run, anti vir / firewall etc ... non have anything in common.

The other thing is it doesn't do it to anyone with Firefox, just a few IE users, so it sounds like some random bug in conjunction with something else... who knows.
View user's profile Send private message
hitwalker
Sells PC To Pay For Divorce


Joined:
Posts: 5661

PostPosted: Wed Apr 26, 2006 6:12 am Reply with quote Back to top

well a link to your site would be great,so i can try.
View user's profile Send private message
alexwise
Regular
Regular


Joined: Oct 15, 2005
Posts: 80

PostPosted: Sat May 06, 2006 7:42 pm Reply with quote Back to top

Sorry ive deleted the all the scripts ive been using all 20 + of them.

Again it only effects very few people, I do belive it's a bug.
I have been working on this problem for ages now and can't find anyting that dosnt crash these certain people.

The only thing I havent tryed is puttting the java code inside a block, but I can't get to work.
Ive read the sticky on this site to do it but I'm at my wits end, so gave up on that.

So now the radio station just has a link to a static Schedule page Crying or Very sad
Oh well at lest it's compatible with evryone now.
View user's profile Send private message
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum