473,434 Members | 1,542 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,434 software developers and data experts.

Vertical Scrollbar Disappears in FireFox

I am running this: http://www.dynamicdrive.com/dynamicindex3/scrolltop.htm

It works fine except the vertical scrollbar disappears when the image is clicked.

What should I do?
Jun 29 '09 #1
10 3464
acoder
16,027 Expert Mod 8TB
Which vertical scrollbar? Is this on the linked page or in your code?
Jun 29 '09 #2
When i run the code - the scrollbar disappears in the page im running the code in.
Jun 29 '09 #3
BTW - it works fine when run in a empty website - but if i run ti in a page with other scripts it makes the vertical scrollbar disappaear. any ideas why?
Jun 29 '09 #4
acoder
16,027 Expert Mod 8TB
Without your code, I couldn't say.
Jun 29 '09 #5
Would you like me to post the HTML code?
Jun 29 '09 #6
If I add these scripts to the page then it goes wrong:

Expand|Select|Wrap|Line Numbers
  1.        <script id="1" type="text/javascript" src="js/jquery.js"></script>
  2.  
  3.         <script id="2" type="text/javascript" src="js/interface.js"></script>
  4.  
  5.         <style type="text/css">
  6.             a.active {
  7.                 font-weight: bold;
  8.             }
  9.             div.inactive {
  10.                 display: none;
  11.             }
  12.         </style>
  13.  
  14.         <link href="style.css" rel="stylesheet" type="text/css" />
  15.  
  16.         <script id="3" type="text/javascript" src="searchPage.js"></script>
Jun 29 '09 #7
acoder
16,027 Expert Mod 8TB
All of the relevant code, but if it's quite a bit, either post a link or upload/attach the file(s) here.
Jun 29 '09 #8
I just tested it out. The conflict is with a dock menu's interface.js that I've been using:

http://www.ndesign-studio.com/blog/mac/css-dock-menu

If I add <script id="2" type="text/javascript" src="js/interface.js"></script>

then the scrollbar doesnt work.
Jun 29 '09 #9
It might be something to do with this function in scrolltopcontrol.js

Expand|Select|Wrap|Line Numbers
  1.     scrollup:function(){
  2.         if (!this.cssfixedsupport) //if control is positioned using JavaScript
  3.             this.$control.css({opacity:0}) //hide control immediately after clicking it
  4.         var dest=isNaN(this.setting.scrollto)? this.setting.scrollto : parseInt(this.setting.scrollto)
  5.         if (typeof dest=="string" && jQuery('#'+dest).length==1) //check element set by string exists
  6.             dest=jQuery('#'+dest).offset().top
  7.         else
  8.             dest=0
  9.         this.$body.animate({scrollTop: dest}, this.setting.scrollduration);
  10.     },
I think maybe when it checks to see if control is positioned using javascript - it finds that the scrollbar fits the description.
Jun 29 '09 #10
acoder
16,027 Expert Mod 8TB
It may well be, but I would need to see it in action via a link or the actual code uploaded.

Please use [code] tags when posting code. Thanks.
Jun 29 '09 #11

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: David Rwj Cherry CS2000 | last post by:
is there any way to disable or lock vertical scroll bars on a browser window? im a newbie and i just don't want them to appear on my screen. sometimes they appear on IE but not on mozilla. any...
2
by: Nathan Wallace | last post by:
When in quirks mode, IE seems to be able to display pages without any vertical scrollbar: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <style> body {...
2
by: prakash_ntech | last post by:
Dear Friends The follwing code works well in IE . ------------------------------------------- <HTML> <body> <TABLE id="tblParent" borderColor="#ccc6b0" cellSpacing="0" height="100%"...
4
by: Rob T. | last post by:
I am using a div tag to make an element that contains some text. I have specified overflow: auto; in my stylesheet. If I use font-size/line-height to specify the font information I get a vertical...
3
by: buht | last post by:
Hello Everyone, Fairly new to c# here and have a question regarding scrollbars, particularly a vertical scrollbar. It looks like my options are restricted for the textbox scrollbars being...
3
by: howa | last post by:
Hello, In Firefox or other browers, vertical scrollbar might not exist and this lead to the page aligning problem (Inconsistency), i.e. when you just from one page (w/scrollbar) to another page...
1
by: platoon1sc | last post by:
Hi guys.I have a problem with Internet Explorer in my web-application. I have a vertical scrollbar into my jsps but firefox show the vertical srollbar, but IE doesn't. IE show a blank space where...
1
by: Tom | last post by:
First, I posted a similar request for help in another group and now don't find the posting. Problem with my newsreader perhaps ... but apologies if this appears as a cross posting. My code is...
1
by: webdev1 | last post by:
Hi, I have set scrolling="auto" in my iframe, so when the height of iframe(Content) is more than the allocated height, vertical scrollbar appears.....Works perfect in Firefox, but when it comes...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...

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.