Page 1 of 2 12 LastLast
Results 1 to 10 of 17
  1. #1
    Join Date
    Oct 2008
    Location
    Hornell, NY
    Posts
    334
    Plugin Contributions
    1

    Default Blank Sidebox, no borders or header, just blank

    How can I make a new sidebox with no border or header

  2. #2
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Blank Sidebox, no borders or header, just blank

    Install the Blank Sidebox, giving it a unique name, and style that id in the stylesheet:

    #myBlankSideBox {border: none;}
    #myBlankSideBoxHeading {display: none;}
    #myBlankSideBoxContent {border: none;}

    with whatever other properties you wish.

  3. #3
    Join Date
    Oct 2008
    Location
    Hornell, NY
    Posts
    334
    Plugin Contributions
    1

    Default Re: Blank Sidebox, no borders or header, just blank

    Quote Originally Posted by gjh42 View Post
    Install the Blank Sidebox, giving it a unique name, and style that id in the stylesheet:

    #myBlankSideBox {border: none;}
    #myBlankSideBoxHeading {display: none;}
    #myBlankSideBoxContent {border: none;}

    with whatever other properties you wish.
    thanks sounds good, going to add content its a live help buttong

  4. #4
    Join Date
    Oct 2008
    Location
    Hornell, NY
    Posts
    334
    Plugin Contributions
    1

    Default Re: Blank Sidebox, no borders or header, just blank

    Quote Originally Posted by chris32882 View Post
    thanks sounds good, going to add content its a live help buttong
    alright I can't even get the sidebox to show regularly..this is what I got..


    PHP Code:
      $content .= '<p>' TEXT_LIVEHELP_SIDEBOX '</p>';
      
    $content .= '<a href="javascript:void(window.open('http://localhost/livezilla/livezilla.php','','width=600,height=550,left=0,top=0,resizable=yes,menubar=no,location=yes,status=yes,scrollbars=yes'))"><img src="http://localhost/livezilla/image.php?id=01" width="191" height="69" border="0" alt="Live Help"></a><noscript><div><a href="http://localhost/livezilla/livezilla.php" target="_blank">Start Live Help Chat</a></div></noscript><!-- http://www.LiveZilla.net Chat Button Link Code --><!-- http://www.LiveZilla.net Tracking Code --><div id="livezilla_tracking" style="display:none"></div><script language="JavaScript" type="text/javascript">
    <!--
    var 
    script document.createElement("script");script.type="text/javascript";var src "http://localhost/livezilla/server.php?request=track&output=jscript&nse="+Math.random();setTimeout("script.src=src;document.getElementById('livezilla_tracking').appendChild(script)",1);
    // -->
    </script>'; 

  5. #5
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Blank Sidebox, no borders or header, just blank

    PHP Code:
    $content .= '<a href="javascript:void(window.open('http://localhost/livezilla/livezilla.php','','width=600,height=550,left=0,top=0,resizable=yes,menubar=no,location=yes,status=yes,scrollbars=yes'))"><img src="http://localhost/livezilla/image.php?id=01" width="191" height="69" border="0" alt="Live Help"></a><noscript><div><a href="http://localhost/livezilla/livezilla.php" target="_blank">Start Live Help Chat</a></div></noscript><!-- http://www.LiveZilla.net Chat Button Link Code --><!-- http://www.LiveZilla.net Tracking Code --><div id="livezilla_tracking" style="display:none"></div><script language="JavaScript" type="text/javascript"> 
    One problem is here. The ' before http is seen as terminating the text string, which then allows the // to be seen as a comment which wipes out the rest of the line.

    If you need to use a single quote inside a single-quoted string, escape it like this: \' .

    I don't know javascript, but the comment tags overlapping with the script tags don't look right.

  6. #6
    Join Date
    Oct 2008
    Location
    Hornell, NY
    Posts
    334
    Plugin Contributions
    1

    Default Re: Blank Sidebox, no borders or header, just blank

    Quote Originally Posted by gjh42 View Post
    PHP Code:
    $content .= '<a href="javascript:void(window.open('http://localhost/livezilla/livezilla.php','','width=600,height=550,left=0,top=0,resizable=yes,menubar=no,location=yes,status=yes,scrollbars=yes'))"><img src="http://localhost/livezilla/image.php?id=01" width="191" height="69" border="0" alt="Live Help"></a><noscript><div><a href="http://localhost/livezilla/livezilla.php" target="_blank">Start Live Help Chat</a></div></noscript><!-- http://www.LiveZilla.net Chat Button Link Code --><!-- http://www.LiveZilla.net Tracking Code --><div id="livezilla_tracking" style="display:none"></div><script language="JavaScript" type="text/javascript"> 
    One problem is here. The ' before http is seen as terminating the text string, which then allows the // to be seen as a comment which wipes out the rest of the line.

    If you need to use a single quote inside a single-quoted string, escape it like this: \' .

    I don't know javascript, but the comment tags overlapping with the script tags don't look right.
    yeah I'm not sure, thats the code livzialla produced to put on a website

  7. #7
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Blank Sidebox, no borders or header, just blank

    The opening script tag is at the end of the $content line, in the commented section:

    <script language="JavaScript" type="text/javascript">

    So that is correct; you just need to escape the special characters so they get output instead of acting immediately.
    PHP Code:
    $content .= '<a href="javascript:void(window.open(\'http://localhost/livezilla/livezilla.php\',\'\',\'width=600,height=550,left=0,top=0,resizable=yes,menubar=no,location=yes,status=yes,scrollbars=yes\'))"><img src="http://localhost/livezilla/image.php?id=01" width="191" height="69" border="0" alt="Live Help"></a><noscript><div><a href="http://localhost/livezilla/livezilla.php" target="_blank">Start Live Help Chat</a></div></noscript><!-- http://www.LiveZilla.net Chat Button Link Code --><!-- http://www.LiveZilla.net Tracking Code --><div id="livezilla_tracking" style="display:none"></div><script language="JavaScript" type="text/javascript">
    <!--
    var script = document.createElement("script");script.type="text/javascript";var src = "http://localhost/livezilla/server.php?request=track&output=jscript&nse="+Math.random();setTimeout("script.src=src;document.getElementById('
    livezilla_tracking').appendChild(script)",1);
    // -->
    </script>'

    Last edited by gjh42; 22 Dec 2008 at 03:07 AM.

  8. #8
    Join Date
    Oct 2008
    Location
    Hornell, NY
    Posts
    334
    Plugin Contributions
    1

    Default Re: Blank Sidebox, no borders or header, just blank

    Quote Originally Posted by gjh42 View Post
    The opening script tag is at the end of the $content line, in the commented section:

    <script language="JavaScript" type="text/javascript">

    So that is correct; you just need to escape the special characters so they get output instead of acting immediately.
    PHP Code:
    $content .= '<a href="javascript:void(window.open(\'http://localhost/livezilla/livezilla.php\',\'\',\'width=600,height=550,left=0,top=0,resizable=yes,menubar=no,location=yes,status=yes,scrollbars=yes\'))"><img src="http://localhost/livezilla/image.php?id=01" width="191" height="69" border="0" alt="Live Help"></a><noscript><div><a href="http://localhost/livezilla/livezilla.php" target="_blank">Start Live Help Chat</a></div></noscript><!-- http://www.LiveZilla.net Chat Button Link Code --><!-- http://www.LiveZilla.net Tracking Code --><div id="livezilla_tracking" style="display:none"></div><script language="JavaScript" type="text/javascript">
    <!--
    var script = document.createElement("script");script.type="text/javascript";var src = "http://localhost/livezilla/server.php?request=track&output=jscript&nse="+Math.random();setTimeout("script.src=src;document.getElementById('
    livezilla_tracking').appendChild(script)",1);
    // -->
    </script>'

    ahhh I see now, weird how one peice of code changes the whole outlook :) Thanks

  9. #9
    Join Date
    Oct 2008
    Location
    Hornell, NY
    Posts
    334
    Plugin Contributions
    1

    Default Re: Blank Sidebox, no borders or header, just blank

    hmm still isn't working, I noticed this code, is commented out as well, not sure

    PHP Code:
    <!-- http://www.LiveZilla.net Chat Button Link Code --><!-- http://www.LiveZilla.net Tracking Code --><div id="livezilla_tracking" style="display:none"></div><script language="JavaScript" type="text/javascript"> 
    this is what I am thinking I should do, correct me if I am wrong

    PHP Code:
    <!-- \' http://www.LiveZilla.net' Chat Button Link Code --><!-- \' http://www.LiveZilla.net' Tracking Code --><div id="livezilla_tracking" style="display:none"></div><script language="JavaScript" type="text/javascript"

  10. #10
    Join Date
    Oct 2008
    Location
    Hornell, NY
    Posts
    334
    Plugin Contributions
    1

    Default Re: Blank Sidebox, no borders or header, just blank

    tpl_livehelp_sidebox.zip

    this is the file, it may be easier to look at than on her on the forum

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v150 Blank Sidebox Blank Page after adding code for livechat software
    By whatisthat456 in forum Basic Configuration
    Replies: 8
    Last Post: 3 May 2012, 10:40 AM
  2. Blank Blank Blank Showing Up in Header
    By mary4c in forum General Questions
    Replies: 13
    Last Post: 15 Aug 2010, 12:44 AM
  3. Blank Sidebox Header
    By blue-grape in forum Basic Configuration
    Replies: 9
    Last Post: 17 Feb 2010, 08:40 PM
  4. Flash hack&blank sidebox = blank page
    By AmandaGero in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 20 Apr 2009, 06:19 PM
  5. Just Installed Blank Sidebox Want to remove (MORE) link
    By chrisrub in forum Basic Configuration
    Replies: 15
    Last Post: 18 Nov 2008, 03:23 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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR