Forum Statistics

  • Forum Members: 4,502
  • Total Threads: 3,657
  • Total Posts: 6
There are 1 users currently browsing forums.

Partner Sites

Reply
Old 06-12-2008, 08:44 AM   #1 (permalink)
 
Status: Newbie
Join Date: Jun 2008
Posts: 1

Rep Power: 17 smsstar2001 is on a distinguished road



Arrow java code -- need help!!!

Guys,

I am new to webdesign and I hope you can help me out. I am trying to get an simliar effect of text expending when "+" is clicked, simliar to:

w w w.adobe.com/products/acrobat/faq/

Would anyone know how I can do that?

Greatly appriciate any help!!
smsstar
smsstar2001 is offline Add Infraction for smsstar2001   Reply With Quote
Old 06-14-2008, 08:38 PM   #2 (permalink)
 
Status: Account Temporarily Suspended
Join Date: Jun 2008
Location: My Computer Room
Posts: 158

Rep Power: 0 vampire is on a distinguished road



Default

I don't remember the exact code. But I can help you with Just simple Drop down menus. Here is the code. Just try it and tell me how it works.
vampire is offline Add Infraction for vampire   Reply With Quote
Old 06-14-2008, 08:43 PM   #3 (permalink)
 
Status: Account Temporarily Suspended
Join Date: Jun 2008
Location: My Computer Room
Posts: 158

Rep Power: 0 vampire is on a distinguished road



Default

This is the complete code with HTML to create drop down menus with some random links.
And the javascript ofc.
Cheers!!!


<!--TRY THIS-->

<form name="form1">
<select name="select1" size="1" style="background-color:#FFFFD7" onChange="displaydesc(document.form1.select1, thetext1, 'textcontainer1')">
<option selected value="http://www.freelancegossip.com">FG Forum </option>
<option value="www.google.com">Google</option>
<option value="http://tftb.net" rel="nofollow" target="newwin">Tech FanaTic Blog</option>
<option value="http://techcrunch.com">Tech Crunch</option>
</select>
<input type="button" value="Go"
onClick="jumptolink(document.form1.select1)"><br>
<span id="textcontainer1" align="left" style="font:italic 13px Arial">
</span>
</form>
var thetext1=new Array()
thetext1[0]="TRY IT AND TELL ME"
thetext1[1]="FG Forums-Gossip Like Freelancer"
thetext1[2]="The Tech Blog."
thetext1[3]="Tech Crunch"

<script type="text/javascript">

function displaydesc(which, descriptionarray, container){
if (document.getElementById)
document.getElementById(container).innerHTML=descr iptionarray[which.selectedIndex]
}

function jumptolink(what){
var selectedopt=what.options[what.selectedIndex]
if (document.getElementById && selectedopt.getAttribute("target")=="newwin")
window.open(selectedopt.value)
else
window.location=selectedopt.value
}

displaydesc(document.form1.select1, thetext1, 'textcontainer1')
displaydesc(document.form2.select2, thetext2, 'textcontainer2')

</script>
vampire is offline Add Infraction for vampire   Reply With Quote
Old 12-13-2008, 03:45 AM   #4 (permalink)
 
Status: FG Regular
Join Date: Sep 2008
Posts: 50

Rep Power: 20 cool sam is on a distinguished road



Default hi

thanks for the help .
good luck

------------------------------------------

Online File Storage | File Sharing Software
cool sam is offline Add Infraction for cool sam   Reply With Quote
Old 01-11-2009, 12:37 AM   #5 (permalink)
 
Status: Newbie
Join Date: Jan 2009
Posts: 3

Rep Power: 14 mayz is on a distinguished road



Default

I found Exactly what looks like the adobe one at this link
Its called the (1afm Expand Collapse Script) Click on this link>>
1AFM WEB SCRIPTS ARCHIVE
It has a live demo you can check before you download
Hope that helps you
mayz is offline Add Infraction for mayz   Reply With Quote
Old 01-29-2009, 02:25 AM   #6 (permalink)
 
Status: Newbie
Join Date: Jan 2009
Posts: 1

Rep Power: 14 JohnJay123 is on a distinguished road



Default Thanks

Hi,
I also try this code this is really useful thank u so much.
__________________
70-293

Last edited by JohnJay123; 02-21-2009 at 01:46 AM
JohnJay123 is offline Add Infraction for JohnJay123   Reply With Quote


Reply

Bookmarks

Tags
None


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may post new threads
You may post replies
You may post attachments
You may 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 On


Search Engine Optimization by vBSEO 3.5.0 RC2