Important Notice from AspDotNetStorefront
It is with dismay that we report that we have been forced, through the action of hackers, to shut off write-access to this forum. We are keen to leave the wealth of material available to you for research. We have opened a new forum from which our community of users can seek help, support and advice from us and from each other. To post a new question to our community, please visit: http://forums.vortx.com
Results 1 to 3 of 3

Thread: Adding scripts to pages

  1. #1
    rightontop is offline Junior Member
    Join Date
    Dec 2008
    Posts
    14

    Default Adding scripts to pages

    Hello,

    Is there a way to add a script in the head section of a page? I have an online price sheet (added in topics) which I do not want my competitors to be able to print. I want to try adding this script to see if it helps. However, I don't know where to add it.

    <style type="text/css" media="print">
    body { visibility: hidden; display: none }
    </style>

    Thanks in advance

  2. #2
    ASPAlfred is offline Senior Member
    Join Date
    Nov 2007
    Posts
    2,244

    Default

    Instead of adding it directly to the page, go to skins/skin_#/style.css file, and try adding it there.

  3. #3
    rightontop is offline Junior Member
    Join Date
    Dec 2008
    Posts
    14

    Default Thanks!

    Will do, thanks a lot.