+ Reply to Thread
Results 1 to 5 of 5

Thread: A stumper - SHTML

  1. #1
    OdieusG is offline x10Hosting Member OdieusG is an unknown quantity at this point
    Join Date
    Jan 2009
    Location
    Bangor, Maine
    Posts
    50

    A stumper - SHTML

    How do you insert banner ads, and things of that nature into pages, using SHTML?
    I'll give an example:
    Page 1, having a commented HTML string, like this
    Code:
    <!-- #bannerads -->
    Now, replace that with 1) A banner ad....duhhhh 2) After 1 visit, the banner goes away for an entire day. I'm figuring cookies, since they have to be persistent enough to last 24 hours, but what would be put and where for this effect to happen? .htaccess? And if so, what directive?

    OR

    Inject a banner into a page without inserting anything into the HTML to begin with
    Last edited by OdieusG; 05-19-2009 at 06:51 AM.

  2. #2
    xav0989's Avatar
    xav0989 is offline Community Public Relation xav0989 is just really nice
    Join Date
    Jul 2008
    Location
    ifk
    Posts
    4,438

    Re: A stumper - SHTML

    You could use some javascript/AJAX action, or build completely build the pages using a server side language (i.e. php) and log each banner usage in a database.
    Xavier L | Community Public Relations Manager (Free Hosting Support)
    █ Yes, my position is too cool to even exist!
    How am I helping? Rate this post by clicking the icon below! (this is even better than "liking" a post)
    Terms of Service | Acceptable Use Policy | x10Hosting Wiki

  3. #3
    OdieusG is offline x10Hosting Member OdieusG is an unknown quantity at this point
    Join Date
    Jan 2009
    Location
    Bangor, Maine
    Posts
    50

    Re: A stumper - SHTML

    Quote Originally Posted by xav0989 View Post
    You could use some javascript/AJAX action, or build completely build the pages using a server side language (i.e. php) and log each banner usage in a database.
    What I'm trying to achieve is specified pages, with simplified syntax TO them pages....for embedding affiliates, things like that into it, without hard coding any PHP or Javascript to them.....I have a guy that doesn't know much about web design, and he needs some simple tags to be able to put in

  4. #4
    xav0989's Avatar
    xav0989 is offline Community Public Relation xav0989 is just really nice
    Join Date
    Jul 2008
    Location
    ifk
    Posts
    4,438

    Re: A stumper - SHTML

    well you could use the system that x10 currently uses to display banners. Where you want to display a banner you include some javascript which then loads up the image and display it.
    Xavier L | Community Public Relations Manager (Free Hosting Support)
    █ Yes, my position is too cool to even exist!
    How am I helping? Rate this post by clicking the icon below! (this is even better than "liking" a post)
    Terms of Service | Acceptable Use Policy | x10Hosting Wiki

  5. #5
    OdieusG is offline x10Hosting Member OdieusG is an unknown quantity at this point
    Join Date
    Jan 2009
    Location
    Bangor, Maine
    Posts
    50

    Re: A stumper - SHTML

    Quote Originally Posted by xav0989 View Post
    well you could use the system that x10 currently uses to display banners. Where you want to display a banner you include some javascript which then loads up the image and display it.
    OK, sorry for the slow reply....so many things going on and just finally got back to see the post....I'll just have to teach him a little....gonna be fun :P

+ Reply to Thread

Similar Threads

  1. php in shtml page
    By driveflexfuel in forum Programming Help
    Replies: 5
    Last Post: 12-08-2008, 07:58 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers