Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Drop down Menu for banners 1

Status
Not open for further replies.

halong

Programmer
Feb 3, 2003
5
US
Hi everyone,
I'm one of those big bad banner designers, and I have come across a problem and was hoping someone could help me out. I need to design a banner with a working drop down menu and I don't have a clue where to begin. I was hoping for some direction. Thank you in advance for all of your help:)
 
What do yo mean flash and how do I begin? I'm a beginner to this sort of thing.
 
I would simply create the banner as a swf file which is generated from flash. This way you could build a interactive banner as you need to. There might be another way, but I see this as being the easiest. Drop down menu's are pretty simple in flash.

As you stated above you are a "big bad banner designer." Surely you have heard of flash?

has plenty of open source drop down menu files there, just have a look. I think even davebyng has some in his profile here at tek-tips in the flash forum under things he has created while helping out here.

carlsatterwhite@orlandomediasolutions.com
 
[tt]virt2002, but you're assuming he's knows flash, banners do not have to be in flash at all.

halong, do you own a copy of flash (any version) at all?

<%=Tony%>
€ € € € € € € € € €
 
Hi Guys,
Thanks for the input. I do have flash, but the problem is is that I am just learning it. I will definitly check out flashkit.com. But my question is then will the people still be able to interact with it when the publication that publishes these, requires a hidden button over the entire banner? And are drop down banners in Flash similar to complex buttons?

As for the big bad banner designer comment it was a play on how much people hate ad banners not implying that I am any good.
 
&quot;virt2002, but you're assuming he's knows flash, banners do not have to be in flash at all.&quot;

No they do not have to be made in flash, I never said that. But to make it interactive like he wants it to be it does. And all I said tony was &quot;there is probably another way, but I see this as being the easiest&quot;.

have a good day.





carlsatterwhite@orlandomediasolutions.com
 
Thou does not need any flash movies. If you want to create an HTML banner with a form with a dropdown menu just do the following:

1- Using your html editor create a a table with its graphics (absolute urls) and the form with the dropdown. Make the table with the dimensions of the the banner you want.

2- the html code for the table with the form must be all in one line and there must be NO &quot;quotation&quot; marks. The reason is the you are going to parse the banner as a Javascript.

3- Then create a text file and add your line of code to it. However oyu must add at the beggining of the line the following code: document.write(&quot;

and at the end: &quot;)

It will look like this:
Code:
document.write(&quot;<table width=465 border=4 cellspacing=0 cellpadding=0 height=60 bordercolor=#FF0000 bgcolor=#0000FF><tr><td><table width=465 border=0 cellspacing=0 cellpadding=0><tr> <td><font color=#FFFFFF><b><font face=Arial, Helvetica, sans-serif>buy my products</font></b></font></td></tr><tr><td><form name=form1 method=post action=[URL unfurl="true"]http://www.your-url.com/cgi-bin/whatever.cgi><select[/URL] name=select><option value=option1 selected>option1</option><option value=option2>option2</option><option value=option3>option3</option></select><input type=submit name=Submit value=Submit></form></td></tr></table></td></tr></table> &quot;)
4- save the file as banner.js (the important part is the .js extension)

5- Then wherever you want to to add the banner in the page just add:
Code:
<script	src=&quot;[URL unfurl="true"]http://url.of.your.com/ad.js&quot;[/URL] type=&quot;text/javascript&quot; language=&quot;Javascript&quot;>
</script>
DONE :)
 
[tt]
Thank you tekagami [sup]
akuma.gif
T ® Ñ ¥
To keep a lamp burning we have to keep puting oil in it.
[/sup]
 
Thank you tekagami that will really help out when I make this html drop down banner. As for the Flash thing I tired it and it was pretty easy. But unfortantely I found out they need it in strick html. YUCK
But thanks again for all of your help
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top