Results 1 to 8 of 8

Thread: Some help in moving objects, please...

  1. #1
    Join Date
    Mar 2005
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Some help in moving objects, please...

    Hi, I was hoping the good people here would be able to help me. Getting code support through proboards is next to impossible, and is much like pulling teeth.

    Anyway, I have this site I'm trying to 'skin', and I'd like to move the mandatory advertisements to the bottom of the page.

    Here's the url for the site:

    http://slcontrast.proboards34.com/index.cgi

    I've seen people move the ads above the logo, but that's it. Is it possible to move them to the bottom?

    Thanks in advance.

  2. #2
    Join Date
    Aug 2004
    Location
    Brighton
    Posts
    1,563
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Woah there - our Forum Rules say no playing with your free host's adverts.

    We're not allowed to help you here.

    cr3ative
    A retired member, drop me a line through my site if you'd like to find me!
    cr3ative media | read the stickies

  3. #3
    Join Date
    Mar 2005
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Okay, sorry about that, then. I know we're allowed to move them around, just not remove them.

    But if your rules say you can't touch em at all, that's cool. Thanks all the same.

  4. #4
    Join Date
    Dec 2004
    Location
    UK
    Posts
    2,358
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I think you'll have great difficulty. There's very little structure with which to create a useful selector - certainly nothing as simple and direct as an id. Presumably, the advertisement code (that is, the script element, etc. itself) is automatically inserted server-side so there's no scope for altering it.

    By the way, the vast amount of client-side code is somewhat concerning. Aside from the fading text (which is replaceable itself), I don't anything that necessitates client-side scripting.

    Finally, blue on blue/black isn't that readable. I don't think I could look at that for very long without getting eye strain.

    Mike

  5. #5
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Since the ad is in an iframe and it is the only iframe on your page, I'd try something like this in the style section:
    Code:
    iframe {
    position:absolute;
    top:600px;
    }
    or however many pixels you need to put it at the bottom.

  6. #6
    Join Date
    Dec 2004
    Location
    UK
    Posts
    2,358
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by jscheuer1
    Since the ad is in an iframe and it is the only iframe on your page, I'd try something like this in the style section:
    Code:
    iframe {
    position:absolute;
    top:600px;
    }
    or however many pixels you need to put it at the bottom.
    The problem with that though is that it would render the use of iframes on other pages difficult. There might not be any of course, but this is why I asked about the code generation. It seems odd to place the iframe in that particular spot...

    Mike

  7. #7
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Quote Originally Posted by mwinter
    It seems odd to place the iframe in that particular spot...
    I just assumed it was the default spot chosen by the host, for maximum visibility/aggravation. This host gets you coming and going, I suspect. They will, I'm sure, be happy to charge a fee billed either to the content provider or the users, whoever caves in first, to get rid of the annoying ad in the middle of the page (see the link at the bottom of the page for sign-up to view the page ad free?). Anyways, I'm not completely happy with my solution either. I got to thinking, it looks like the last three characters in the iframe's source are going to be cgi (untested but highly likely). So we could come up with a script that gets iframe elements by tag name, parses out the last three letters of their source and moves them to the bottom if that string equals 'cgi' (here we could get creative and find the actual bottom of the content minus the height of the iframe and stick the thing there). Just a thought, I'd write it up myself but, I have a paying job on rush that I need to attend to over the next few days. Alternatively, we could attack all iframes but reserve a class that would be untouched, for the page's designer to use if he/she wants an iframe.

  8. #8
    Join Date
    Mar 2005
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Okay, I think I understood a 'little' of that.

    (by the way, the skin is a work in progress)

    there is a 'header' and 'footer' section for the main page, and each individual board on the forum. The client side scripts (I believe these are the mods I collect you speak of) being a concern...I'm not too sure what's meant by that.

    I'll give this iframe thing a try, and see what happens. I know very little of a whole lot, so for me looking through an endless sea of css, javascript and html is just a little overwhelming.

    I have learned a lot by coming here over the years, though...

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
  •