Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 6 of 6
  1. #1
    New Coder
    Join Date
    Jan 2005
    Posts
    21
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Resizing Remote Javascript Called Image

    I have a webpage which contains a link to a remote javascript applet. The applet contains a link to a remote image and this image is displayed on my page. I am not authorised to edit the applet or the image directly. I would like to resize/rescale the image, is this possible to do within the coding of my page without having to edit the remote applet or image?

  • #2
    Senior Coder
    Join Date
    Jul 2004
    Location
    New Zealand
    Posts
    1,315
    Thanks
    0
    Thanked 2 Times in 2 Posts
    Using my amazing psychic powers, I have found your web page, and I am deciphering your code as I type this.

    I believe you are confusing Java and Javascript (ECMAScript) when you refer to a Javascript applet. I also think you can use the CSS attributes width and height to change the size of this image.

  • #3
    New Coder
    Join Date
    Jan 2005
    Posts
    21
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by hemebond
    Using my amazing psychic powers, I have found your web page, and I am deciphering your code as I type this.
    oops...well I am a newcomer so I hope you can forgive my mistake this time

    My web page is at http://members.lycos.co.uk/hydroculture/ and the images I would like to resize are the statistics and/or the site meter logos at the bottom of the page. Basically I would like to make them both the same size.

  • #4
    Senior Coder
    Join Date
    Jul 2004
    Location
    New Zealand
    Posts
    1,315
    Thanks
    0
    Thanked 2 Times in 2 Posts
    Code:
    img[title="Site Meter"]
    {
    width:85px;
    height:30px;
    }

  • #5
    New Coder
    Join Date
    Jan 2005
    Posts
    21
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Thank you hemebond. That does exactly what I wanted, your help is very much appreciated

  • #6
    New Coder
    Join Date
    Jan 2005
    Posts
    21
    Thanks
    1
    Thanked 0 Times in 0 Posts
    It appears that the site meter logo uses a more standard size format to that of the statistics logo. Does anyone have any suggestion on how to change the size of the statistics logo?


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •