Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Javascript > A bit of menu help please?

Reply
Thread Tools

A bit of menu help please?

 
 
art@unsu.com
Guest
Posts: n/a
 
      11-10-2007

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

 
Reply With Quote
 
 
 
 
Darko
Guest
Posts: n/a
 
      11-10-2007
On Nov 10, 7:51 am, "a...@unsu.com" <ame...@iwc.net> wrote:
> 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

 
Reply With Quote
 
 
 
 
art@unsu.com
Guest
Posts: n/a
 
      11-10-2007
On Nov 10, 8:04 am, Darko <darko.maksimo...@gmail.com> wrote:
> On Nov 10, 7:51 am, "a...@unsu.com" <ame...@iwc.net> wrote:
>
>
>
>
>
> > 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.......

 
Reply With Quote
 
 
 
Reply

Thread Tools

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
What is the point of having 16 bit colour if a computer monitor can only display 8 bit colour? How do you edit 16 bit colour when you can only see 8 bit? Scotius Digital Photography 6 07-13-2010 03:33 AM
Reversing Bit Order.. i.e. MSB becomes bit 0, LSB becomes bit 15 benn686@hotmail.com C++ 9 08-22-2007 12:13 AM
"LoadLibrary" of a 32 bit so with 64 bit java on a 64 bit machine markryde@gmail.com Java 3 01-19-2007 10:30 PM
64 bit - Windows Liberty 64bit, Windows Limited Edition 64 Bit, Microsoft SQL Server 2000 Developer Edition 64 Bit, IBM DB2 64 bit - new ! vvcd Computer Support 0 09-17-2004 08:15 PM
64 bit - Windows Liberty 64bit, Windows Limited Edition 64 Bit,Microsoft SQL Server 2000 Developer Edition 64 Bit, IBM DB2 64 bit - new! Ionizer Computer Support 1 01-01-2004 07:27 PM



Advertisments