473,320 Members | 1,859 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

resizing image?

roN
Hi,

if you go to http://www.dvdnowkiosks.com/new/faq.php you can see that if you
click on one of the FAQs, it's extending them and making the image on the
right-hand side being too short. Is there a possibility that i can get by
how many pixels it got extended and resize my image on the right-hand side?
Thanks for suggestions!
Dec 7 '06 #1
3 1297
roN wrote :
Hi,

if you go to http://www.dvdnowkiosks.com/new/faq.php you can see that if you
click on one of the FAQs, it's extending them and making the image on the
right-hand side being too short. Is there a possibility that i can get by
how many pixels it got extended and resize my image on the right-hand side?
Thanks for suggestions!

I think you matter is more of a XHTML/CSS matter.

Your website should be 'extendable', meaning the left menu will extend with the
bottom whenever there is more text that should be inserted.
This has nothing to do with javascript ;)

--
Naixn
http://fma-fr.net
Dec 7 '06 #2
VK

roN wrote:
if you go to http://www.dvdnowkiosks.com/new/faq.php you can see that if you
click on one of the FAQs, it's extending them and making the image on the
right-hand side being too short. Is there a possibility that i can get by
how many pixels it got extended and resize my image on the right-hand side?
Thanks for suggestions!
I'm not a specialist by DIV-layouts (always stood with tables for the
serious projects), so not direct technical answer, just a few notes:

1) the bottom of your page is messed up a bit on Firefox 1.5 even w/o
expanding any of FAQ topics.

2) a page layout (of any nature) falling apart w/o JavaScript support
is not a great idea. You should be able to make the middle section
fully fluid without studying offsetHeight on each click and applying
script commands.

<comp.infosystems.www.authoring.stylesheetsare traditionally good on
that.

Dec 7 '06 #3

roN wrote:
Hi,

if you go to http://www.dvdnowkiosks.com/new/faq.php you can see that if you
click on one of the FAQs, it's extending them and making the image on the
right-hand side being too short. Is there a possibility that i can get by
how many pixels it got extended and resize my image on the right-hand side?
Thanks for suggestions!
Ok, you don't want to do this in JavaScript. You want to rearrange your
HTML/CSS like so:

<div class="box">
<div class="header"><!-- put your rounded-corner images here --></div>
<div class="content">
FAQ list goes here
</div>
<div class="footer"><!-- put your rounded-corner images here --></div>
</div>

Use the natural flow of HTML and CSS to help you out; avoid fixed
heights. This is an area where you should probably go to the HTML list
instead and learn about semantic markup and why you should use DIVs
instead of nested TABLEs. Any more is off-topic for the JavaScript
list.

David

Dec 7 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Alex Hopson | last post by:
I'm using the code below to loop through some images and resize each image twice, once to create a thumbnail and once to create a small image. The page stops loading around the 38th image out of...
2
by: Clyde Ellul | last post by:
Hi there. I need to write a simple program that reads a GIF image from an input stream, resizes it, then writes it back to an output stream in the same format (GIF). (JPEG input/output is good...
10
by: riki | last post by:
Hi, i have a big problem...i'm using one jscript for resizing of all of my pics in popUp...in main html i'm having many little pics and clicking on them they open in popUp and resize to larger...
5
by: Jim | last post by:
I've heard that resizing images through PHP (either GD2 or ImageMagick) is a processor intensive exercise. I'm setting up a site where users will be uploading up to 10 images along with the details...
1
by: Ron Vecchi | last post by:
I am using asp.net to upload an image and then perform resizing on it and saving the different sizes to file. The resized images were coming up and being displayed in the bowser fine but the image...
10
by: David W. Simmonds | last post by:
I have a DataList control that has an Image control in the ItemTemplate. I would like to resize the image that goes into that control. I have a series of jpg files that are full size, full...
6
by: tomasio | last post by:
Dear NG, years have passed and I am still more designer than programmer. I build a new version of my website which has a few nasty bugs, especially on my startpage: Resizing text brakes the...
8
by: berkshire | last post by:
Hi, Anyone know of a script out there that can resize images and not sacrifice image quality? I've been using phpthumb (http://phpthumb.sourceforge.net/) but when compared to an image resized...
10
by: mishrarajesh44 | last post by:
hii all, I am facing a problem currently.. i have a script for image uploading and resizing.. the image uploading takes place properly for every size images.. but, the resizing works for...
14
anfetienne
by: anfetienne | last post by:
hi.....i have this script (below #1) that is linked to another php file SimpleImage.php (#2) im trying to get it to work on my uploaded images but it keeps coming up errors.....i haven't altered...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.