Okay, So trust me I have googled, and searched this board before posting..
Maybe I dont know the correct searching phrase.
I want to be able to recreate a text area for news on my site, and I want it to have a scroll area that is sharp looking. I know very little javascript, and understand that I probably should, But I dont think this should be TOO difficult.
Anyways I have provided a site with an example of how I want it to work http://www.miserysignals.net/main.php
On the left side where their news is. HOW on earth would I create something like this??
My searches came back with numerous amounts of auto scrolling text areas, which is cool, but not what I want.
Any help would be amazing, Thanks JS, and AJAX gurus!
PS. I am using Dreamweaver cs3 if that may help at all???
14 4100 Dasty 101
Recognized Expert New Member
I can not see any auto-scrolling areas. I can see just area that can be scrolled manually. In this case, you can use "DIV" dom element with fixed height and width, while overflow style property will be set to auto.
[HTML]<div style="width:10 0px; height:100px; overflow:auto;" >
<H1>You can put whatever you want here</H1><br>
And here ...<br>
And here ...<br>
All will be inside DIV (scrollable)<br >
</div>[/HTML]
But site you was refering to is made in Macromedia Flash not in JS.
I was really hoping to get the custom up and down and scroll bar part going.
I can do it by just making by the way you just said, but it gives me the plain ole' scroll bar.
I believe the only flash part of the site is the header. The news area was achieved using JS, if I am correct, if I disable flash in my browser the news still comes up.
I just cannot find anything on how to make this "Graphical scrollbar" on any of my searches..
Hoping for a miracle.
-myke
I can not see any auto-scrolling areas. I can see just area that can be scrolled manually. In this case, you can use "DIV" dom element with fixed height and width, while overflow style property will be set to auto.
[HTML]<div style="width:10 0px; height:100px; overflow:auto;" >
<H1>You can put whatever you want here</H1><br>
And here ...<br>
And here ...<br>
All will be inside DIV (scrollable)<br >
</div>[/HTML]
But site you was refering to is made in Macromedia Flash not in JS.
acoder 16,027
Recognized Expert Moderator MVP
I believe the only flash part of the site is the header. The news area was achieved using JS, if I am correct, if I disable flash in my browser the news still comes up.
I just cannot find anything on how to make this "Graphical scrollbar" on any of my searches.
You're correct. The first step is to use Firebug and right-click Inspect Element. You'll see it's a span with an img tag inside.
You're correct. The first step is to use Firebug and right-click Inspect Element. You'll see it's a span with an img tag inside.
k, I got firebug, inspected it, I still cannot figure out how they did it! Just lost.
Markus 6,050
Recognized Expert Expert
The code used:
No idea what's going on there, looks long winded.
Haha, sorry for the lack of help.
Haha, thanks!
Man I didnt think something SO little could be so complicated, I have no idea what to do. Ill update if anything comes of it though.
Still open for suggestions.
acoder 16,027
Recognized Expert Moderator MVP
With the plain ole' scrollbar, it's easy. If you want a "graphical" scrollbar, you're going to have to work for it!
It's not as complicated as you think. If you don't need to support IE4 and Netscape 4 (old and ancient browsers), you could cut out a lot of the code.
Don't forget that with the JavaScript, you will also need the HTML and CSS.
Thanks a ton. Well see how it goes...
Markus 6,050
Recognized Expert Expert
Thanks a ton. Well see how it goes...
Wish you all the best :)
and let us know how you get along!
Sign in to post your reply or Sign up for a free account.
Similar topics |
by: Kai Grossjohann |
last post by:
It seems that Ctrl-N in Mozilla opens a new empty browser window.
That's fine, I don't need to do anything about it.
But Ctrl-N in IE appears to clone the current window. Is there a way
to intercept the key so that I can do stuff on the server side to make
the new window behave correctly?
(We have a JSP-based webapp which stores state in the session. Now if
two windows access (and modify!) the same session, then madness will
result....
|
by: D Newsham |
last post by:
Hi,
This javascript creates a table that has a header and side column that
do not move while scrolling through the table. I need to convert this
to vb script. Can anybody help, or do you have code in vb (asp) that
would do the same thing?
<html>
<head>
<title>Scrolling Grid Demo</title>
|
by: Karin Jensen |
last post by:
Hi - I am trying to use Javascript to put material inside a table
(i.e. alongside the previous material) if the user's screensize is
big enough and outide the table (beneath table) if it isn't.
The following code (tag properties and other extraneous material
removed) works in IE but not Firefox:
<table>
<tr><td>
first set of material
</td>
|
by: Bernie V |
last post by:
Hi group,
I use some javascript on my page to scroll some text.
This is my situatiion:
1 aspx file : home.aspx with the main layout
in the layout i use custom controls (ascx files) to show the whole page with
the main layout of home.aspx.
In the <head></head> tag of the home.aspx file I placed:
|
by: Peter Bons |
last post by:
Hi all,
I have an asp.net page with a button that has a javascript onclick method
attached to it to display a modal dialog like this:
If reportHasParameters Then
'add client side onclick() event handler to display the popup dialog for
entering parametervalues
btnChangeParameters.Attributes.Add("onclick",
String.Format("window.showModalDialog
| |
by: rodchar |
last post by:
hey all,
am i running the following javascript as fast as possible: All i'm trying to
do is move an innerDIV via an outerDIV left and right. if i click real fast
on the button it only moves one step after 2 clicks, if i click real slow it
will move normal.
<script type="text/javascript">
var x // Gets innerDiv
var y // Gets outerDiv
var z; // Testing: Gets Label for testing purposes only
|
by: Raffi |
last post by:
Hi,
I have an application screen with a CSS scroll area. Users click links
in the scroll area which open small popup windows to enter data. When
the data is submitted, the popup reloads the opener to update the page
and closes itself. However when the parent page is updated, the div
scrolls back to the top. Is there a way to have CSS remember the
vertical scroll position and go back to it when the page is reloaded?
Similar to...
|
by: mevryck |
last post by:
Greetings
I have a huge Javascript with inclusion of external scripts and all. I
got this by doing a XSLT .
Now I have the contents in a Javascript variable, but I'm not able to
update the element with the javascript contents.
But when viewed as a seperate HTML file with the below contents I'm
able to see the milonic menu http://www.milonic.com .
<div>
|
by: John L. |
last post by:
How do I invoke the scroll() method of a window object for a
scrollable IFRAME element in an HTML document?
I am using IE 7.0, and I thought the following would work:
document.frame01.scroll(x,y)
or possibly
document.getElementById('frame01').scroll(x,y)
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |