Does your website maker have an actual name, or is it the cyberkidscountry or whatever website maker??
Offline
WindowsExplorer wrote:
Does your website maker have an actual name, or is it the cyberkidscountry or whatever website maker??
SIMPLwebeditor :S
I just haven't implement it yet
Last edited by ssss (2011-10-10 03:23:41)
Offline
ssss wrote:
WindowsExplorer wrote:
Does your website maker have an actual name, or is it the cyberkidscountry or whatever website maker??
SIMPLwebeditor :S
I just haven't implement it yet![]()
do you know how to make links in an alert("some text") in javascript? It always shows the <a href='link'>some text</a> insted of some text?
Offline
WindowsExplorer wrote:
ssss wrote:
WindowsExplorer wrote:
Does your website maker have an actual name, or is it the cyberkidscountry or whatever website maker??
SIMPLwebeditor :S
I just haven't implement it yet![]()
do you know how to make links in an alert("some text") in javascript? It always shows the <a href='link'>some text</a> insted of some text?
Simple anwser: You can't. Do it with a popup instead
Offline
ssss wrote:
WindowsExplorer wrote:
ssss wrote:
SIMPLwebeditor :S
I just haven't implement it yet![]()
do you know how to make links in an alert("some text") in javascript? It always shows the <a href='link'>some text</a> insted of some text?
Simple anwser: You can't. Do it with a popup instead
![]()
how do I make a popup?
Offline
WindowsExplorer wrote:
ssss wrote:
WindowsExplorer wrote:
do you know how to make links in an alert("some text") in javascript? It always shows the <a href='link'>some text</a> insted of some text?Simple anwser: You can't. Do it with a popup instead
![]()
how do I make a popup?
o.O
<script language="javascript" type="text/javascript">
<!--
function popitup(url) {
newwindow=window.open(url,'name','height=200,width=150');
if (window.focus) {newwindow.focus()}
return false;
}
// -->
</script>Then link to:
<a href="popupex.html" onclick="return popitup('popupex.html')"
>Link to popup</a>o.Oor:
http://stackoverflow.com/questions/1733 … ript-alert
I suggest using the link first.
Offline
ssss wrote:
WindowsExplorer wrote:
ssss wrote:
Simple anwser: You can't. Do it with a popup instead![]()
how do I make a popup?
o.O
Code:
<script language="javascript" type="text/javascript"> <!-- function popitup(url) { newwindow=window.open(url,'name','height=200,width=150'); if (window.focus) {newwindow.focus()} return false; } // --> </script>Then link to:
Code:
<a href="popupex.html" onclick="return popitup('popupex.html')" >Link to popup</a>o.Oor:
http://stackoverflow.com/questions/1733 … ript-alert
I suggest using the link first.![]()
Could you please post the code for the welcome.php on your site again? I deleted it by mistake
Offline
WindowsExplorer wrote:
ssss wrote:
WindowsExplorer wrote:
how do I make a popup?o.O
Code:
<script language="javascript" type="text/javascript"> <!-- function popitup(url) { newwindow=window.open(url,'name','height=200,width=150'); if (window.focus) {newwindow.focus()} return false; } // --> </script>Then link to:
Code:
<a href="popupex.html" onclick="return popitup('popupex.html')" >Link to popup</a>o.Oor:
http://stackoverflow.com/questions/1733 … ript-alert
I suggest using the link first.![]()
Could you please post the code for the welcome.php on your site again? I deleted it by mistake
![]()
At the moment, I am fully updating it. That means starting from scratch, because somewhere along the line I screwed up. However, this means that when I do fix all my code up, you will see it.
Offline
WindowsExplorer wrote:
just post it anyway. pleeeeeeease
Well this is embarrassing. I screwed my own code up.
<html> <link href="<?php echo $_GET["css"]; ?>" rel="stylesheet" type="text/css" /> <head><title><?php echo $_GET["title"]; ?></title></head> <body bgcolor="<?php echo $_GET["bgcolor"]; ?>"><div id="header"><h1><?php echo $_GET["header"]; ?></h1></div> <span style="font-size: <?php echo $_GET["fontsize"]; ?>;" color="<?php echo $_GET["fontcolor"]; ?>" face="<?php echo $_GET["fontfamily"]; ?>"> <?php echo $_GET["content"]; ?> </font> <div id="footer"><?php echo $_GET["footer"]; ?> | This site is powered by <a href='http://cyberkidscountry.com/phpeditor'>CyberKidsCountry PHPeditor</a>! <!-- Removal of this copyright notice is not permitted--></div> </body> </html>
Offline
ssss wrote:
WindowsExplorer wrote:
just post it anyway. pleeeeeeease
Well this is embarrassing. I screwed my own code up.
Code:
<html> <link href="<?php echo $_GET["css"]; ?>" rel="stylesheet" type="text/css" /> <head><title><?php echo $_GET["title"]; ?></title></head> <body bgcolor="<?php echo $_GET["bgcolor"]; ?>"><div id="header"><h1><?php echo $_GET["header"]; ?></h1></div> <span style="font-size: <?php echo $_GET["fontsize"]; ?>;" color="<?php echo $_GET["fontcolor"]; ?>" face="<?php echo $_GET["fontfamily"]; ?>"> <?php echo $_GET["content"]; ?> </font> <div id="footer"><?php echo $_GET["footer"]; ?> | This site is powered by <a href='http://cyberkidscountry.com/phpeditor'>CyberKidsCountry PHPeditor</a>! <!-- Removal of this copyright notice is not permitted--></div> </body> </html>
hey. links keep going to plaxon.comyr.com/\"link\"
Offline
WindowsExplorer wrote:
ssss wrote:
WindowsExplorer wrote:
just post it anyway. pleeeeeeease
Well this is embarrassing. I screwed my own code up.
Code:
<html> <link href="<?php echo $_GET["css"]; ?>" rel="stylesheet" type="text/css" /> <head><title><?php echo $_GET["title"]; ?></title></head> <body bgcolor="<?php echo $_GET["bgcolor"]; ?>"><div id="header"><h1><?php echo $_GET["header"]; ?></h1></div> <span style="font-size: <?php echo $_GET["fontsize"]; ?>;" color="<?php echo $_GET["fontcolor"]; ?>" face="<?php echo $_GET["fontfamily"]; ?>"> <?php echo $_GET["content"]; ?> </font> <div id="footer"><?php echo $_GET["footer"]; ?> | This site is powered by <a href='http://cyberkidscountry.com/phpeditor'>CyberKidsCountry PHPeditor</a>! <!-- Removal of this copyright notice is not permitted--></div> </body> </html>hey. links keep going to plaxon.comyr.com/\"link\"
I'd need to see your code.
Offline
<html>
<link href="gphp.css" rel="stylesheet" type="text/css" />
<link href="<?php echo $_GET["style"]; ?>" rel="stylesheet" type="text/css" />
<head><title><?php echo $_GET["title"]; ?></title></head>
<body bgcolor="<?php echo $_GET["bgcolor"]; ?>"><div id="header"><h1><?php echo $_GET["header"]; ?></h1></div>
<span style="font-size: <?php echo ''.$_GET["fontsize"].''; ?>;" color="<?php echo $_GET["fontcolor"]; ?>" face="<?php echo $_GET["fontfamily"]; ?>">
<?php echo $_GET["content"]; ?> </font>
<div id="footer"><?php echo $_GET["footer"]; ?> | Created with <a href="javascript:info()">GenPHP</a><!-- Removal of this copyright notice is not permitted--></div>
</body>
</html>
<script type="text/javascript">
function info() {
alert("GenPHP (plaxon.comyr.com/gphp) is based on SIMPLwebeditor (cyberkidscountry.com/phpeditor)");
}
</script>Offline
ssss wrote:
That's odd. Because on mine, it works fine. Although, you might want to put your <link href>'s inside the head tag
![]()
Could you do it for me, I'm not sure what you mean by putting a link there.
Offline
WindowsExplorer wrote:
ssss wrote:
That's odd. Because on mine, it works fine. Although, you might want to put your <link href>'s inside the head tag
![]()
Could you do it for me, I'm not sure what you mean by putting a link there.
:S. It's as simple as:
<html>
<head><title><?php echo $_GET["title"]; ?></title>
<link href="gphp.css" rel="stylesheet" type="text/css" />
<link href="<?php echo $_GET["style"]; ?>" rel="stylesheet" type="text/css" />
</head>
<body bgcolor="<?php echo $_GET["bgcolor"]; ?>"><div id="header"><h1><?php echo $_GET["header"]; ?></h1></div>
<span style="font-size: <?php echo ''.$_GET["fontsize"].''; ?>;" color="<?php echo $_GET["fontcolor"]; ?>" face="<?php echo $_GET["fontfamily"]; ?>">
<?php echo $_GET["content"]; ?> </font>
<div id="footer"><?php echo $_GET["footer"]; ?> | Created with <a href="javascript:info()">GenPHP</a><!-- Removal of this copyright notice is not permitted--></div>
</body>
</html>
<script type="text/javascript">
function info() {
alert("GenPHP (plaxon.comyr.com/gphp) is based on SIMPLwebeditor (cyberkidscountry.com/phpeditor)");
}
</script>That. :S
Offline
Haha! I worked it out. On yours, you have put the " " things in already. So instead of doing:
<a href="scratch.mit.edu>scratch</a>
You do:
<a href=scratch.mit.edu>scratch</a>
See the difference?
Offline
ssss wrote:
Haha! I worked it out. On yours, you have put the " " things in already. So instead of doing:
Code:
<a href="scratch.mit.edu>scratch</a>You do:
Code:
<a href=scratch.mit.edu>scratch</a>See the difference?
<a href=http://scratch.mit.edu>scratch</a>
Now THAT is right
Last edited by rookwood101 (2011-10-11 10:34:18)
Offline
rookwood101 wrote:
ssss wrote:
Haha! I worked it out. On yours, you have put the " " things in already. So instead of doing:
Code:
<a href="scratch.mit.edu>scratch</a>You do:
Code:
<a href=scratch.mit.edu>scratch</a>See the difference?
Code:
<a href=http://scratch.mit.edu>scratch</a>Now THAT is right
how come it works with the " " on yours, ssss?
Offline