Results 1 to 4 of 4

Thread: Missing "!"

  1. #1
    Join Date
    Apr 2012
    Location
    Central New Jersey
    Posts
    293
    Thanks
    99
    Thanked 3 Times in 3 Posts

    Default Missing "!"

    Folks,

    First 41 lines of code below, unfortunately unnumbered. I invite your attention to the "document.write" line, about 12 lines up from the bottom, and to the "Irreverent Lawyers" line, one line up from the bottom.

    I'm attempting now to just display an exclamation point. (That exclamation point is just a place holder for a function when I get past the present problem.) The exclamation point is not displaying anywhere on the page. I'm expecting it to immediately precede "Irreverent" in the page heading. The page in question is https://www.marainlaw.com/page.php?here=quotations.

    Can y'all help?

    Code:
    <!doctype html>
    <html lang="en">
    <head>
    <title>Source Code for This Page <i>Not</i> Treated with rBST : NJ Criminal Defense Lawyer</title>
    
    <meta name="viewport" content="width=device-width,initial-scale=1" />
    <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
    <meta name="description" content="&lt;?= $meta[$here] ?&gt;" />
    <meta name="keywords" content="lawyer, federal, criminal, attorney, NJ, New Jersey, DWI, trial, appeal, juvenile, crime" />
    <meta name="alexaVerifyID" content="J0F1C_VThFr49pc4mqwIPNrQwiA" />
    <meta name="extra" content="Counsellors at Law who go that extra mile for their clients." />
    <meta name="distribution" content="Global" />
    <meta name="viewport" content="width=device-width,initial-scale=1" />
    <link rel="stylesheet" href="css/marainlaw.css" /><style>
    		.intro {
    		position:absolute;
    		left:0;
    		top:0;
    		background-color:#ffff00;
    		border:8.0px solid blue;
    		z-index:10;
    }
    </style><script src="js/popwin.js"></script>
    
    </head>
    <body name="muffy" id="muffy" class = "quotations"><br />
    	      <script><br />
    		  <!--<br />
    		  document.write("!");
    		  // --><br />
    		  </script><div id="container">
    <div id="logo">
    
    <header>
    <table>
    <tr>
    <td class="logoleft"><h1>
    
    Irreverent Lawyers in New Jersey</h1><h5>Source Code for This Page <i>Not</i> Treated with rBST</h5><h5>Click <a href="https://www.MarainLaw.com/page.php?here=quest"><span style="color : #ff4040; ">Here</span></a> for Your No-Obligation Case Review</h5></td>
    <td class="logoright">
    Last edited by marain; 01-22-2022 at 04:00 PM.

  2. #2
    Join Date
    Nov 2006
    Location
    chertsey, a small town 25 miles south west of london, england.
    Posts
    2,051
    Thanks
    3
    Thanked 273 Times in 267 Posts

    Default

    Hi there marain,


    this...
    Code:
    	      <script><br />
    		  <!--<br />
    		  document.write("!");
    		  // --><br />
    		  </script>
    ...cannot possibly work.

    It needs to be, at least, like this...
    Code:
    <script>
       document.write("!");
    </script>
    ...or, if you want to include the br element, like this...
    Code:
    <script>
       document.write("<br>!");
    </script>

    coothead
    ~ the original bald headed old fart ~

  3. The Following User Says Thank You to coothead For This Useful Post:

    marain (01-22-2022)

  4. #3
    Join Date
    Apr 2012
    Location
    Central New Jersey
    Posts
    293
    Thanks
    99
    Thanked 3 Times in 3 Posts

    Default

    Coothead,

    Color me embarrassed.

    Thank you.

    A.

  5. #4
    Join Date
    Nov 2006
    Location
    chertsey, a small town 25 miles south west of london, england.
    Posts
    2,051
    Thanks
    3
    Thanked 273 Times in 267 Posts

    Default

    Hi there marain,

    There is no need to be embarrassed, I am fast approaching 80 years
    of age and brain farts are an almost daily occurrence for me.

    Yesterday by clicking the wrong button I totally destroyed my main OS.

    coothead
    ~ the original bald headed old fart ~

  6. The Following User Says Thank You to coothead For This Useful Post:

    keyboard (Today)

Similar Threads

  1. Help fix "missing sem-colon"
    By newbtophp in forum JavaScript
    Replies: 4
    Last Post: 02-05-2010, 06:10 PM
  2. Replies: 0
    Last Post: 04-11-2009, 08:48 AM
  3. Missing "alt" tag in JS HV menu
    By hawkmaster in forum Dynamic Drive scripts help
    Replies: 2
    Last Post: 04-16-2008, 06:58 AM
  4. Switch Menu - "Missing Secure Attribute"
    By dvarner in forum Dynamic Drive scripts help
    Replies: 0
    Last Post: 03-07-2008, 05:27 PM

Bookmarks

Posting Permissions

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