Resize picture

Discussion in 'HTML' started by Boris ©avc, May 31, 2004.

  1. Boris ©avc

    Boris ©avc Guest

    I have this code (it's a banner exchange) and I'd like to change the size of
    displayed banner. How to do that? Is it possible?

    <div>
    <script language="javascript"
    src="http://www.something.com/script.php?id=1071"
    type="text/javascript"></script><br>
    </div>

    Thanks,
    Boris
    Boris ©avc, May 31, 2004
    #1
    1. Advertising

  2. Boris ©avc

    brucie Guest

    in post: <news:eBBuc.4016$>
    Boris ©avc <> said:

    > I have this code (it's a banner exchange) and I'd like to change the size of
    > displayed banner. How to do that? Is it possible?


    some smartarse thought it would be funny to superglue my crystal ball to
    the ceiling again so you'll have to supply a URL to a page thats
    displaying the banner.

    --
    b r u c i e
    brucie, May 31, 2004
    #2
    1. Advertising

  3. Boris ©avc

    Boris Savc Guest

    "brucie" <> wrote in message
    news:xgfiar7pummd$...
    > in post: <news:eBBuc.4016$>
    > Boris ©avc <> said:
    >
    > > I have this code (it's a banner exchange) and I'd like to change the

    size of
    > > displayed banner. How to do that? Is it possible?

    >
    > some smartarse thought it would be funny to superglue my crystal ball to
    > the ceiling again so you'll have to supply a URL to a page thats
    > displaying the banner.
    >
    > --
    > b r u c i e
    >
    >


    Hello Brucie, you again!

    Would it kill you to help for once?

    Regards,
    Boris
    Boris Savc, May 31, 2004
    #3
  4. Boris ©avc

    brucie Guest

    in post: <news:4kCuc.4031$>
    Boris Savc <> said:

    >>> I have this code (it's a banner exchange) and I'd like to change the
    >>> size of displayed banner. How to do that? Is it possible?


    >> some smartarse thought it would be funny to superglue my crystal ball to
    >> the ceiling again so you'll have to supply a URL to a page thats
    >> displaying the banner.


    > Hello Brucie, you again!


    <waves/> kissy kissy

    > Would it kill you to help for once?


    i'm trying but you haven't supplied enough info. you can use css to
    change the image size but you need to make sure you target the correct
    image using appropriate selectors.

    i cant tell you what those selectors are or if you'll need to stick in a
    class or id unless i see the page markup (this assumes your banner TOS
    allows you to resize their banners)


    --
    b r u c i e
    brucie, May 31, 2004
    #4
  5. Boris ©avc

    Boris Savc Guest

    "brucie" <> wrote in message
    news:...
    > in post: <news:4kCuc.4031$>
    > Boris Savc <> said:
    >
    > >>> I have this code (it's a banner exchange) and I'd like to change the
    > >>> size of displayed banner. How to do that? Is it possible?

    >
    > >> some smartarse thought it would be funny to superglue my crystal ball

    to
    > >> the ceiling again so you'll have to supply a URL to a page thats
    > >> displaying the banner.

    >
    > > Hello Brucie, you again!

    >
    > <waves/> kissy kissy
    >
    > > Would it kill you to help for once?

    >
    > i'm trying but you haven't supplied enough info. you can use css to
    > change the image size but you need to make sure you target the correct
    > image using appropriate selectors.
    >
    > i cant tell you what those selectors are or if you'll need to stick in a
    > class or id unless i see the page markup (this assumes your banner TOS
    > allows you to resize their banners)
    >
    >
    > --
    > b r u c i e
    >
    >


    OK, Brucie. My bad. The real banner is on page
    http://www.adijo.com/lestvica.php (the one in the middle/bottom). Hope
    you'll find something.

    Regards,
    Boris
    Boris Savc, May 31, 2004
    #5
  6. "Boris ©avc" <> wrote:

    > I have this code (it's a banner exchange) and I'd like to change the
    > size of displayed banner.


    Remove the code.

    > How to do that?


    Remove the code. This will optimize the size, namely set it to zero.

    This will also make your page look a bit less childish in the negative
    sense. If this is a problem, add some animation like a hand coming out of
    an opening mailbox, as a compensation. <marquee> might do as well.

    > Is it possible?


    Yes.

    --
    Yucca, http://www.cs.tut.fi/~jkorpela/
    Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html
    Jukka K. Korpela, May 31, 2004
    #6
  7. Boris ©avc

    brucie Guest

    in post: <news:GeDuc.4041$>
    Boris Savc <> said:

    > OK, Brucie. My bad.


    <sob/> you have to kiss me better now.

    > The real banner is on page
    > http://www.adijo.com/lestvica.php (the one in the middle/bottom). Hope
    > you'll find something.


    add an id to the <div> in the markup:

    <!-- oglas izmenjava.com -->
    <div id="myadd">
    <script....>
    </div>

    add a bit of css to the <head>

    #myadd img{width:200px;height:200px;}

    but i think you should look at another banner supplier, i had to keep
    hitting refresh for ages before one would appear.

    --
    b r u c i e
    brucie, May 31, 2004
    #7
  8. Boris ©avc

    rf Guest

    "brucie" <> wrote in message
    news:...
    > in post: <news:GeDuc.4041$>
    > Boris Savc <> said:
    >
    > > OK, Brucie. My bad.

    >
    > <sob/> you have to kiss me better now.


    AAARRRGGGGHHH... The mind boggles

    http://users.bigpond.net.au/rf/kiss.jpg

    Cheers
    Richard.
    rf, May 31, 2004
    #8
  9. Boris ©avc

    DU Guest

    Boris ©avc wrote:
    > I have this code (it's a banner exchange) and I'd like to change the size of
    > displayed banner. How to do that? Is it possible?
    >
    > <div>
    > <script language="javascript"
    > src="http://www.something.com/script.php?id=1071"
    > type="text/javascript"></script><br>
    > </div>
    >
    > Thanks,
    > Boris
    >
    >



    In how many different newsgroups have you multi-posted your message
    exactly? Where do you really want to be answered?

    DU
    DU, May 31, 2004
    #9
  10. Boris ©avc

    brucie Guest

    in post: <news:aDEuc.19800$>
    rf <> said:

    >> <sob/> you have to kiss me better now.


    > AAARRRGGGGHHH... The mind boggles


    you're just jealous because i'm getting more kissies than you are.

    > http://users.bigpond.net.au/rf/kiss.jpg


    your risque collection of animal pics is starting to worry me.

    --
    b r u c i e
    brucie, May 31, 2004
    #10
  11. Boris ©avc

    rf Guest

    "brucie" <> wrote in message
    news:14wlmm4a5f8hm$...
    > in post: <news:aDEuc.19800$>
    > rf <> said:
    >
    > >> <sob/> you have to kiss me better now.

    >
    > > AAARRRGGGGHHH... The mind boggles

    >
    > you're just jealous because i'm getting more kissies than you are.
    >
    > > http://users.bigpond.net.au/rf/kiss.jpg

    >
    > your risque collection of animal pics is starting to worry me.


    http://images.google.com.au/images?q=risque animal

    The second hit works for me :)

    Cheers
    Richard.
    rf, May 31, 2004
    #11
  12. Boris ©avc

    brucie Guest

    in post: <news:>
    brucie <> said:

    > add an id to the <div> in the markup:
    > <!-- oglas izmenjava.com -->
    > <div id="myadd">
    > <script....>
    > </div>
    >
    > add a bit of css to the <head>
    >
    > #myadd img{width:200px;height:200px;}
    >
    > but i think you should look at another banner supplier, i had to keep
    > hitting refresh for ages before one would appear.


    after looking further into the non arrival of your banners i noticed my
    solution above only works with moz.

    change your:

    <!-- oglas izmenjava.com -->
    <div>
    <script language="javascript"src="http://www.izmenjava.com/script.php?id=1071"
    type="text/javascript"></script><br>
    </div>
    <!-- konec oglasa izmenjava.com -->
    (i'm not sure why thats in a <script> anyway)

    to:
    <div>
    <img src="http://www.izmenjava.com/script.php?id=1071" alt="" id="myadd">
    </div>

    and change the css to: #myadd{width:200px;height:200px;}

    --
    b r u c i e
    brucie, May 31, 2004
    #12
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Alvin Bruney
    Replies:
    2
    Views:
    419
    Neil Kimber
    Jul 21, 2003
  2. eddie wang
    Replies:
    1
    Views:
    401
    Peter O'Reilly
    Jul 23, 2003
  3. Replies:
    2
    Views:
    1,251
    Adrienne
    Feb 13, 2005
  4. Boris ©avc

    Resize picture

    Boris ©avc, May 31, 2004, in forum: Javascript
    Replies:
    0
    Views:
    104
    Boris ©avc
    May 31, 2004
  5. Replies:
    8
    Views:
    1,225
    Mick White
    Apr 19, 2005
Loading...

Share This Page