Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New to the CF scene
    Join Date
    Mar 2005
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    How can I get rid of the javascript?

    I have copy the html coding from a website with javascript, got rid of all unnecessary html coding and javescript from the orginal, and copy only the table format to be use as mine. Everything is simple, with no hint of the original site's coding except the table code. The problem come when i upload my site and when i go View>Source, the "ghost" of the original javascript seems to follow to my coding! And when i Save As... there's a php file which i never upload. I have tried ways like double checking my code to see what I may have miss out to rid off but was futile. I also tried copy and paste the coding to a new file but still in vain. I've never deal with javascript before and have no idea how it works in linking it to the site, so I'm asking this favor from u guys. In short, what cause the javascript from the original site to link to my site? Below is my coding, pls check if i miss out anything to rid off. Thanks a million. (Let me know if you guys wanna have a look at the source when I upload, don want to make this post longer unnecessarily.)

    <HTML>
    <HEAD>
    <TITLE>PG</TITLE>
    </HEAD>

    <body background="" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
    <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
    <tr>
    <td height="300" align="center" valign="top" bgcolor="#003366">
    <table width="767" height="49%" border="0" cellpadding="0" cellspacing="0" background="">
    <tr>
    <td width="25" bgcolor="#CCCCCC" height="805" background="flash/Lside.jpg">&nbsp;</td>
    <td width="721" valign="top" height="805" bgcolor="#FFFFFF">
    <table width="721" border="0" cellspacing="0" cellpadding="0">
    <tr>
    </tr>
    </table>
    <table width="100%" border="0" height="727" bordercolor="#FFFFFF">
    <tr>
    <td valign="bottom" height="150" bgcolor="#FFFFFF"><object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="721" height="240">
    <param name=movie value="flash/menu.swf">
    <param name=quality value=high>
    <embed src="flash/menu.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="721" height="240">
    </embed>
    </object></td>
    </tr>
    <tr>
    <td valign="top" height="45" bgcolor="#FFFFFF" background="section2.jpg">&nbsp;</td>
    </tr>
    <tr>
    <td valign="top" bgcolor="#FFFFFF" height="513">
    <table width="100%" border="0" height="513">
    <tr>
    <td height="453" background="section3.jpg" bgcolor="#FFFFFF" align="center" valign="middle">
    <table width="96%" border="0" height="387">
    <tr>
    <td valign="top" height="81">
    <table width="100%" border="0" height="89">
    <tr>
    <td width="10%" height="12"><b><font face="Arial, Helvetica, sans-serif" size="1.5" color="#003366">06/03/2005</font></b></td>
    <td width="90%" height="12">&nbsp;</td>
    </tr>
    <tr>
    <td width="10%" height="49"><a href="gallery/gallery.htm"><img src="gallery/maya/Tlance3.jpg" width="60" height="45" border="0"></a></td>
    <td width="90%" height="49"><b><font face="Arial, Helvetica, sans-serif" size="1.5" color="#333333">Completed
    the gallery section, click on pic to access.
    </font></b></td>
    </tr>
    </table>
    </td>
    </tr>
    <tr>
    <td height="66">
    <table width="100%" border="0" height="69">
    <tr>
    <td height="17" width="10%"><b><font face="Arial, Helvetica, sans-serif" size="1.5" color="#003366">05/03/2005</font></b></td>
    <td height="17" width="90%">&nbsp;</td>
    </tr>
    <tr>
    <td width="10%"><img src="header1.jpg" width="62" height="44"></td>
    <td width="90%"><b><font face="Arial, Helvetica, sans-serif" size="1.5" color="#333333">Launch
    of my personal Homepage! Pardon me all 4 Section
    are not done yet, keep a look out for this
    Updates column to know when they will be up.
    Welcome and thank you for visting this humble
    site of mine. Have a Nice day.</font></b></td>
    </tr>
    </table>
    </td>
    </tr>
    <tr>
    <td>&nbsp;</td>
    </tr>
    <tr>
    <td>&nbsp;</td>
    </tr>
    <tr>
    <td>&nbsp;</td>
    </tr>
    <tr>
    <td>&nbsp;</td>
    </tr>
    </table>
    </td>
    </tr>
    <tr>
    <td height="62" background="section4.jpg">&nbsp;</td>
    </tr>
    </table>
    </td>
    </tr>
    </table>
    </td>
    <td width="25" bgcolor="#CCCCCC" height="805" background="flash/side.jpg">&nbsp;</td>
    </tr>
    </table>
    </td>
    </tr>
    </table>
    </body>
    </html>

  • #2
    Regular Coder
    Join Date
    Aug 2004
    Location
    codegoboom@yahoo.com
    Posts
    999
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by urlse
    I have copy the html coding from a website with javascript, got rid of all unnecessary html coding and javescript from the orginal, and copy only the table format to be use as mine. Everything is simple, with no hint of the original site's coding except the table code. The problem come when i upload my site and when i go View>Source, the "ghost" of the original javascript seems to follow to my coding!
    Code:
    <script language="sarcastic">
    if(typeof document.karma == "bad")
    	document.write('your own code!');
    </script>
    Last edited by codegoboom; 03-08-2005 at 04:15 AM. Reason: syntax error ;)
    *this message will self destruct in n-seconds*

  • #3
    Supreme Master coder! glenngv's Avatar
    Join Date
    Jun 2002
    Location
    Philippines
    Posts
    10,966
    Thanks
    0
    Thanked 236 Times in 233 Posts
    Nice one codegoboom.

  • #4
    Senior Coder
    Join Date
    Feb 2004
    Location
    Edinburgh
    Posts
    1,352
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by codegoboom
    Code:
    <script language="sarcastic">
    if(typeof document.karma == "bad")
    	document.write('your own code!');
    </script>
    hey two can play that game:

    PHP Code:
    <script type="text/savvyscript">

        function 
    nullifyTrolling()
        {
            while (
    document.wit.highestForm != true)
            {
                if (
    arguments[0] == "most fun"trollStatus null;
            }
        }

    </script> 
    *keep it simple (TM)


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •