/    Sign up×
Community /Pin to ProfileBookmark

xanga scripts

hmm havent posted here in a while…

Anyway to the point..can sum1 help me merge the following 2 scripts??

its for my xanga jus tryin some thing new =/

=====================adds a frontpage=======================

<script type=’text/javascript’>
// intro splash page by micron
// for more xanga scripts and help go to createblog.com

// change this url to an image of your choice
var image = ‘http://img143.echo.cx/img143/6461/imagine36dx.jpg‘;

function enterSite() {
document.getElementById(‘splash’).style.display = ‘none’;
var content = document.getElementsByTagName(“center”);
for (var i=0; i<content.length;i++) {
content[i].style.display = ‘block’;
}
return false;
}

if (document.title.slice(-10) == ‘Xanga Site’) {
document.write(‘</span></center><style type=”text/css”> center {display:none;} .image {border:1px solid #dcdcdc;} </style><table height=”100%” width=”100%” id=”splash”><tr><td align=”center” valign=”middle” style=”text-align:center !important;”><a href=”#” onclick=”return enterSite();”><img src=”‘+ image +'” border=”0″ class=”image”></a></td></tr></table><center><span>’);
}
</script>
================end 1st script======================

2nd script:
========changes the image when the mouse moves over it=========

<script LANGUAGE=”JavaScript”>
<!– Begin
image1 = new Image();
image1.src = “http://img288.echo.cx/img288/6396/21grudge9xg.jpg“;

// End –>
</script>

<a href=”http://www.xanga.com/home.aspx?user=jkho” onmouseover=”image1.src=’http://img288.echo.cx/img288/6396/21grudge9xg.jpg’;”onmouseout=”image1.src=’http://img143.echo.cx/img143/6461/imagine36dx.jpg‘;”>
<img name=”image1″ src=”http://img143.echo.cx/img143/6461/imagine36dx.jpg” border=0></a>

============end 2nd scipt===============

ps: ignore the “=======” part its just for partitioning the post =/

to post a comment
JavaScript

1 Comments(s)

Copy linkTweet thisAlerts:
@j_sanauthorMay 20.2005 — *bump*
×

Success!

Help @j_san spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.17,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...