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

A bit of menu help please?

art

Hi All,

I'm, not sure if this is done in Javascript or DHTML. But, I am
looking create one of those frameless windows upon entering a page
that scroll in from the left to the center, usually containing some
type of advertisement.

What is really cool is that normally you can see through the window,
the colors are such that you can see behind it. It also had an 'X' in
the upper right to close it.

Many sites have this, although I cannot seem to find one, probably
because I am looking for it.

Anyhow, can anyone point me to a site that has an example, or perhaps
provide an example? I want this frameless colorful window to scroll
from the left to the center, and upon clicking it, load a different
page.

Thank you

Nov 10 '07 #1
2 1035
On Nov 10, 7:51 am, "a...@unsu.com" <ame...@iwc.netwrote:
Hi All,

I'm, not sure if this is done in Javascript or DHTML. But, I am
looking create one of those frameless windows upon entering a page
that scroll in from the left to the center, usually containing some
type of advertisement.

What is really cool is that normally you can see through the window,
the colors are such that you can see behind it. It also had an 'X' in
the upper right to close it.

Many sites have this, although I cannot seem to find one, probably
because I am looking for it.

Anyhow, can anyone point me to a site that has an example, or perhaps
provide an example? I want this frameless colorful window to scroll
from the left to the center, and upon clicking it, load a different
page.

Thank you
Instead of looking for such site, search for the following keywords:
* css opacity (standard)
* css -moz-opacity (mozilla)
* css filter (Internet Explorer)

That's for transparency.

Also, DHTML is not something separate from JavaScript, but it's
an abbreviation for Dynamic HTML, which AFAIK means Javascript + HTML.
I haven't heard anyone using the acronym for a long time, though.

As for scrolling, you'll need to look upon these words on Google:
* setTimeout
* css position absolute

You make a HTML div move by calling a function that does something
like this:

window.windowPoz = screen.length;

function slideIt()
{
windowPoz -= 5;
object.style.left = windowPoz + "px";
setTimeout( "slideIt()", 100 );
}

It's just a draft, to point how it's done, not a complete script. It's
just to
show you the ways of doing it (set initial position, use element's
style.top and style.left
to move it, having previously set its style.position to absolute. Etc.

The rest you'll have to do on your own, I hope this little helped.

Regards

Nov 10 '07 #2
art
On Nov 10, 8:04 am, Darko <darko.maksimo...@gmail.comwrote:
On Nov 10, 7:51 am, "a...@unsu.com" <ame...@iwc.netwrote:


Hi All,
I'm, not sure if this is done in Javascript or DHTML. But, I am
looking create one of those frameless windows upon entering a page
that scroll in from the left to the center, usually containing some
type of advertisement.
What is really cool is that normally you can see through the window,
the colors are such that you can see behind it. It also had an 'X' in
the upper right to close it.
Many sites have this, although I cannot seem to find one, probably
because I am looking for it.
Anyhow, can anyone point me to a site that has an example, or perhaps
provide an example? I want this frameless colorful window to scroll
from the left to the center, and upon clicking it, load a different
page.
Thank you

Instead of looking for such site, search for the following keywords:
* css opacity (standard)
* css -moz-opacity (mozilla)
* css filter (Internet Explorer)

That's for transparency.

Also, DHTML is not something separate from JavaScript, but it's
an abbreviation for Dynamic HTML, which AFAIK means Javascript + HTML.
I haven't heard anyone using the acronym for a long time, though.

As for scrolling, you'll need to look upon these words on Google:
* setTimeout
* css position absolute

You make a HTML div move by calling a function that does something
like this:

window.windowPoz = screen.length;

function slideIt()
{
windowPoz -= 5;
object.style.left = windowPoz + "px";
setTimeout( "slideIt()", 100 );

}

It's just a draft, to point how it's done, not a complete script. It's
just to
show you the ways of doing it (set initial position, use element's
style.top and style.left
to move it, having previously set its style.position to absolute. Etc.

The rest you'll have to do on your own, I hope this little helped.

Regards- Hide quoted text -

- Show quoted text -

Much thanks for your help Darko.......

Nov 10 '07 #3

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

Similar topics

1
by: Bizt | last post by:
Hi, I would like to create a menu where the menu options were taken from an XML file. The reason is that I would be able to update the xml file (by simply adding new child nodes) after I...
1
by: Patrick L. Nolan | last post by:
We have a Tkinter application which has a menubar with cascade submenus. I would like to start the program with one of the submenu items state=DISABLED, then change it to state=NORMAL at a later...
22
by: Marek Mand | last post by:
How to create a functional *flexible* UL-menu list <div> <ul> <li><a href=""></li> <li><a href=""></li> <li><a href=""></li> </ul> </div> (working in IE, Mozilla1.6, Opera7 (or maybe even...
2
by: Jackson Yap | last post by:
can someone kind enough to help me look at the attached html and js file? Why is it that the javascript menu could not work at www.apchosting.net but could work at...
7
by: Chuck Hartman | last post by:
I have a Windows service that requests web pages from a site using an HttpWebRequest object. When I try to request a page from an ASP.NET 2 site, I get a WebException with message "The remote...
4
by: Fred | last post by:
Hi, I have a list box with a context menu. When I right click the menu appears as expected. However when I select an option on the context menu the menu does not close. The click event on the...
14
namcintosh
by: namcintosh | last post by:
Hello, everyone. Well, let me cut to the chase and explain my problem. I am trying to devise a menu plan that uses the if/else if and the while loop. The program calculates the user's weight...
8
by: =?Utf-8?B?bWljaGFlbCBzb3JlbnM=?= | last post by:
I created a user control that handles certain keystrokes, e.g. Ctrl-C for cut, Ctrl-V for paste, plus other more specialized keystrokes. I want to list these in the menubar like any other menu...
3
by: win | last post by:
I've create menu in a webform. <asp:Menu ID="Menu1" runat="server" CssClass="toolbar" Orientation="Horizontal"> <Items> <asp:MenuItem Text="Master" Value="Master"> <asp:MenuItem...
4
by: SAL | last post by:
Hello, is there a way to menu control dynamically center itself horizontally on a page? I have placed a menu control in a panel control (no ajax) and would like it to center itself. Depending on...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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...
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...

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.