web design !
#1
trying to put a little site together for my Dad using net Fusion
cant seem to find out how to make a pop up screen off a hot spot
Im sure all you cleaver guys use dream weaver or just write in HTML !
but if anyone knows how to do this using new fusion i would appreciate some help
cheers
Paul
cant seem to find out how to make a pop up screen off a hot spot
Im sure all you cleaver guys use dream weaver or just write in HTML !
but if anyone knows how to do this using new fusion i would appreciate some help
cheers
Paul
#6
Scooby Regular
Join Date: Jul 2000
Location: Islington
Posts: 2,145
Likes: 0
Received 0 Likes
on
0 Posts
save this to an htm page and see if it's what you want to do.
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Test page. Division example</title>
</head>
<body bgcolor="#dddddd">
<p>
<input type="button" value="Open Div" onClick="OpenDiv()" style="font-size:8pt">
</p>
</body>
<SCRIPT LANGUAGE="javascript">
function OpenDiv()
{
document.body.insertAdjacentHTML('BeforeEnd', '<DIV STYLE="position:absolute; TOP:25px; LEFT:35px" ID="TheTip"> <TABLE width="300" BORDER="1" CELLPADDING="0" cellspacing="0" bordercolordark="#dddddd" bordercolorlight="#000000"><TD BGCOLOR="#ffffff"><br><br><cente r>How About This?<br><br><input type="button" value="Close Div" onClick="CloseDiv()" style="font-size:8pt"><center><br><br>< ;/TD></TABLE></DIV>');
}
function CloseDiv()
{
TheTip.innerHTML = "";
TheTip.outerHTML = "";
}
</SCRIPT>
</html>
the document.body..... thru .... </DIV>'); is one line btw - not sure how SN ***** these things up!
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Test page. Division example</title>
</head>
<body bgcolor="#dddddd">
<p>
<input type="button" value="Open Div" onClick="OpenDiv()" style="font-size:8pt">
</p>
</body>
<SCRIPT LANGUAGE="javascript">
function OpenDiv()
{
document.body.insertAdjacentHTML('BeforeEnd', '<DIV STYLE="position:absolute; TOP:25px; LEFT:35px" ID="TheTip"> <TABLE width="300" BORDER="1" CELLPADDING="0" cellspacing="0" bordercolordark="#dddddd" bordercolorlight="#000000"><TD BGCOLOR="#ffffff"><br><br><cente r>How About This?<br><br><input type="button" value="Close Div" onClick="CloseDiv()" style="font-size:8pt"><center><br><br>< ;/TD></TABLE></DIV>');
}
function CloseDiv()
{
TheTip.innerHTML = "";
TheTip.outerHTML = "";
}
</SCRIPT>
</html>
the document.body..... thru .... </DIV>'); is one line btw - not sure how SN ***** these things up!
Trending Topics
#8
<html>
<head>
<script>
function popup(url)
{
window.open(url,'windowname','scrollbars=no,resiza ble=no,width=200,height=200');
}
</script>
</head>
<body>
<a href="#" onclick="javascript:{popup('mypage.html');}">cl ick here</a>
</body>
</html>
<head>
<script>
function popup(url)
{
window.open(url,'windowname','scrollbars=no,resiza ble=no,width=200,height=200');
}
</script>
</head>
<body>
<a href="#" onclick="javascript:{popup('mypage.html');}">cl ick here</a>
</body>
</html>
Thread
Thread Starter
Forum
Replies
Last Post
oilman
Trader Announcements
15
01 October 2015 11:55 AM