Web Hosting Forums: Forums for web hosting, webmaster & website issues  

Go Back   Web Hosting Forums > Web Design > Javascript Forums
User Name
Password


Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old August 24th 2004, 10:45 AM   #1 Spam Kill
Bennr
Registered User
 
Join Date: Aug 2004
Posts: 1
javascript problem in safari

Hi

we have recently designed and built a dynamic web site using DIV element within another, to enable the user to scroll.

When we had the site tested we received this feed back;-

3. The scrolling pane does not scroll far enough in Apple Safari, so in several cases it is not possible to view all the books.
We have identified the cause, and have found a solution, albeit that it is not ideal.
? The scrolling pane is constructed from a DIV element inside another one. The outer one is 600 pixels wide, and sets the width of the display the user sees. The inner DIV element is currently 1682 pixels wide on every page, and this determines the width of the table containing the thumbnail ima This means it is possible to scroll until no books are visible. If the user continues to scroll before changing direction it may take some time before any books come back into view.
? There is a ‘grey area’ during which increases in the ‘width’ attribute of the DIV element causes the spacing between the books to increase.
If the DIV width is below the lower limit of this ‘grey area’ then Safari does not display all the books.
As the DIV width increases, the spacing between the books increases, and becomes unacceptably large.
If the DIV width is above the upper limit of this ‘grey area’ then it is possible to scroll until no books are visible.
The solution is to set the DIV width to the exact value required, which is different for each page and depends on the number of books in the scrolling pane. It will be in the ‘grey area’ described above, probably near the lower limit. It may be that this can be calculated if all books are the same width. If not, it will be necessary to use trial and error.
This solution will obviously cause a maintenance issue if books are added to or removed from the pages. It is recommended that alternative coding methods are investigated, possibly using JavaScript to set the width of the DIV element automatically based on the number of books on each page.

If anyone could help us please could you
Bennr is offline   Reply With Quote
Old August 24th 2004, 11:18 AM   #2
Administrator
The Boss
 
Administrator's Avatar
 
Join Date: Jan 2003
Location: London
Posts: 333
As this is an advanced coding problem i would suggest including a link to the script so that people may take a look.

It is possible that someone may be able to find a different solution for the problem other than automatic width based on the div content but would need to see the script to investigate.
__________________
Add your web design or hosting company to my Hosting Directory.
Join our panel of experts!
Have a look at the expert advice drop down box ( top right of page ) from more info.
Administrator is offline   Reply With Quote
Old July 10th 2007, 10:01 PM   #3 Spam Kill
mac_jsn
Registered User
 
Join Date: Jun 2007
Posts: 8
Thumbs up Javascript solutions

Hi bennr

Get your problem solved from here
http://www.techhelpformarketers.com

Hope it's helpful to you!

[mac_jsn]

Last edited by mac_jsn : July 10th 2007 at 10:05 PM. Reason: Spell
mac_jsn is offline   Reply With Quote
Old June 23rd 2008, 06:16 AM   #4 Spam Kill
linkbuilding
Registered User
 
Join Date: May 2008
Location: http://www.linkbuildingservice.info/oneway-link-building.php
Posts: 4
send me details

i would like to more, please send me information

regards
ashiwini


-------------------------------------

Link Building | Article marketing |
linkbuilding is offline   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
HOsting or Nameserver problem please help DaihatsuUhost Web Hosting 1 October 8th 2005 09:58 AM
Javascript Tutorials Administrator Javascript Forums 3 August 26th 2005 02:25 AM
Problem with H-Sphere Control Panel Installation on Windows 2003 colocation Web Hosting 0 June 17th 2005 04:20 PM
Javascript books Administrator Javascript Forums 2 November 22nd 2004 01:21 AM
The age old question Helen Web Hosting 5 June 18th 2004 12:00 AM


All times are GMT -5. The time now is 01:52 PM.


Powered by: vBulletin Version 3.0.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 2.4.0
 

Statistics


Sponsor


Articles

 

Forums Partners: PHP Freelance Work / Web Design Forums / PHP Editor Review / Domain Hosting Directory


©Web Expert2000 Limited All rights reserved / Legal Disclaimer / Privacy Policy
Basic Web Hosting Search Intermediate Web Hosting Search Advanced Web Hosting Search Log in to add your companies details Search the forums on web hosting, web design and programming Your bookmarked web hosting and web design packages Buy your domain names from here, includes multilingual registrations and translation! Our affiliate programs, including the ability to set up large and small corporations to sell domain names in real time using our transparent affiliate system Group of web hosting companies with some info on their services - use this to find a company FAST Jump to Top of Page Jump to Top of Page Back to previous page Back to homepage Back to homepage Back to homepage Back to homepage Back to homepage Back to homepage