You are viewing a post by raykyo. View all 104 posts in [b]Description:[/b] Instead of just spawning a window, this script animates it into view, by expanding it horizontally then vertically until it fills the screen. :wallbash: :wallbash: :wallbash: .
[b]In a simple explanation:[/b] This Tweak will pop a new page/window
Credits: [b]DynamicDrive[/b]
Insert this code inside your onload handler
[quote]var FtalkRules;
try
{FtalkRules = document.createElement("div");
}
catch (e)
{FtalkRules = document.createElement("<div>");
}
FtalkRules.setAttribute("style","text-align:center;padding-top: 5px");
FtalkRules.innerHTML = "<br><div align=\"center\"><input type=\"button\" value=\"[b]BUTTON LABEL[/b]\" onClick=\"expandingWindow('[b]URL OF NEW WINDOW[/b]')\"></div>";
document.getElementById("controlPanelButtons").parentNode.appendChild(FtalkRules);[/quote]
Just edit the bold part
[quote]Ex:
Url of new window: http://theftalk.com
Button Label: FriendsterTalk[/quote]
Then Place this code under your js codes...
<">That's It your done .... very simple tweak... thanks
Preview: [url]http://profiles.friendster.com/53375466[/url] (My Testing Profile)
[quote](Just click the button([b]FriendsterTalk[/b]) under controlpanel buttons to see the effect)[/quote]
[/quote]
wow very nice bro