FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


a little question





Poetsunited
I was wondering how i can make iframes delay ( i know this isn't suposed to be in this forum)

and my second question, how to make a random amount of iframes all form ( using java )

this is what i want it to do :

First count the amount of people it has in the database with a certain ability... and then generate an iframe for all and using javascript to launch all form's at the same time ( one in each iframe )


any ideas?

- kev -
jmraker
You could create the iframes with javascript like

var iframes = new Array();
iframes.push("program generated link");
iframes.push("program generated link");
iframes.push("program generated link");
iframes.push("program generated link");
iframes.push("program generated link");

function createFrames(){
var elem = document.getElementById("iframeshere");
var html;
for(a = 0;a < iframes.length;a++)
html += '<iframe src="' + iframes[a] + '"></iframe>';
elem.innerHTML = html;
}

window.setTimeout("createFrames()", 10000); // call after 10,000 ms
Related topics
Where do you live?
Brett Tabke's website tutorial
Question About Acceptation Delays
[OFFICIAL] World Of Warcraft - No new topics about this
Solve this
Curiously
I think I'm dieing... literally
Simple(?) probability question
a little question about account change
How?:Check the occurance of a certain character in a string.
What is your browsers start page?
who have emulators.
DJ CAUT!ON - NEW ELECTRO-HOUSE MIX!!!
Little question
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.