Jump to content

Welcome to Geeks to Go - Register now for FREE

Geeks To Go is a helpful hub, where thousands of volunteer geeks quickly serve friendly answers and support. Check out the forums and get free advice from the experts. Register now to gain access to all of our features, it's FREE and only takes one minute. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more.

Create Account How it Works
Photo

Need help with Link over Link in Dreamweaver


  • Please log in to reply

#1
Paradox924X

Paradox924X

    Member

  • Member
  • PipPipPip
  • 208 posts
Ok, so I'm at school and need help with optimizing their website. I help with codes and such in HTML and Java... so I need help now! :)
We recently added a banner to the school website: DBHS
and it conflicts with the java of the top menu ( drop down menu at top of page)
We haven't uploaded the new and better banner script because it conflicts with this topmenu we have.
Hmmm.. i'm going to upload a prototype page so you can see the problem.
Btw, at school, we use Safari and IE Mac Edition 5.2 and the new IMac G5's towerless with wireless mouse and keyboard :woot:
Ok, I just uploaded the prototype page so you can see the problem in effect.
The banners aren't there on purpose, so just look at the issue.
go to:
Index Prototype
and look at the banner script and java pull down menu...
When the menu rolls over, it hides behind the banners...
I need help with fixing that.
You can view source and see the banner script that we use on the regular home page (DBHS)
and the code that we use on the Index Prototype Page.
See the difference? Way smaller code and better on the index prototype... and if you cant tell what code is for he banner code, here it is...

On the regular Home Page:
		<tr> 
		  <td width="704" height="28"> 
			<div align="center">
			<p><br>
			<script language="JavaScript">
var imgs1 = new Array("img/1.jpg","img/2.jpg","img/3.jpg","img/4.jpg","img/5.jpg","img/6.jpg","img/7.jpg","img/8.jpg","img/9.jpg","img/10.jpg","img/11.jpg",
"img/12.jpg","img/13.jpg","img/14.jpg","img/15.jpg","img/16.jpg","img/17.jpg","img/18.jpg","img/19.jpg","img/20.jpg","img/21.jpg","img/22.jpg","img/23.jpg",
"img/24.jpg","img/25.jpg","img/26.jpg","img/27.jpg","img/28.jpg","img/29.jpg","img/30.jpg","img/31.jpg","img/32.jpg","img/33.jpg","img/34.jpg","img/35.jpg",
"img/36.jpg","img/37.jpg","img/38.jpg","img/39.jpg","img/40.jpg")
var alt1 = new Array()
var currentAd1 = 0
var imgCt1 = 40
function cycle1() {
  if (currentAd1 == imgCt1) {
	currentAd1 = 0
  }
var banner1 = document.getElementById('adBanner1');
var link1 = document.getElementById('adLink1');
  banner1.src=imgs1[currentAd1]
  banner1.alt=alt1[currentAd1]
  currentAd1++
}
  window.setInterval("cycle1()",8000)
</script>
  </p>
  <p><img src="img/1.jpg" id="adBanner1" border="0" width="440" height="85"></p>
			</a></div></td>
		</tr>

and here goes the code on the index prototype:
<br>
<br>
<applet code="KzmAdvertise" width="440"
   height="85"><param name="scriptfile" value="scriptfile.txt"><param name="copyright"
   value="Alex 'Kazuma' Garbagnati, kazuma@energy.it"><param name="imagesdir"
   value="img"><param name="welcome" value="DBHS Partners">KzmAdvertise
   Applet</applet>

Ok, so now that you have that, here's the code for the topmenu... it's saved as a .js file and is linked in that place on every page:

Menu1=new Array(' Academics','',15,20,118);
Menu1_1=new Array('Adv. Placement','advancedplacement.html',0,20,118);
Menu1_2=new Array('CBA Magnet','http://www.cbamagnet.com',0,20,118);
Menu1_3=new Array('ESOL Program','esolprogram.html',0,20,118);

Menu1_4=new Array('FCAT Explorer','fcatresources.html',0,20,118);
Menu1_5=new Array('FCAT Resources','fcatrwebsites.html',0,20,118);
Menu1_6=new Array('FCAT Strategies','fcatstrategies.html',0,20,118);
Menu1_7=new Array('First Responder','firstresponder.html',0,20,118);
Menu1_8=new Array('FSPA','fspaclub.html',0,20,118);
Menu1_9=new Array('IB Program','ibprogram.html',0,20,118);
Menu1_10=new Array('Pro Start','prostart.html',0,20,118);
Menu1_11=new Array('Junto','juntoclub.html',0,20,118);
Menu1_12=new Array('Mu Alpha Theta','mualphatheta.html',0,20,118);
Menu1_13=new Array('NHS','nhs.html',0,20,118);
Menu1_14=new Array('SECME','secme.html',0,20,118);
Menu1_15=new Array('Silver Knights','silverknights.html',0,20,118);

Menu2=new Array(' Athletics','',20,20,118);
Menu2_1=new Array('Baseball','baseball.html',0,20,118);
Menu2_2=new Array('B-Basketball','boysbasketball.html',0,20,118);
Menu2_3=new Array('G-Basketball','Girlsbasketball.html',0,20,118);
Menu2_4=new Array('Cheerleading','cheerleading.html',0,20,118);
Menu2_5=new Array('Cross Country','crosscountry.html',0,20,118);
Menu2_6=new Array('Flag Football','flagfootball.html',0,20,118);
Menu2_7=new Array('Football','football.html',0,20,124);
Menu2_8=new Array('B-Golf','boysgolf.html',0,20,118);
Menu2_9=new Array('G-Golf','girlsgolf.html',0,20,118);
Menu2_10=new Array('G-Soccer','girlssoccer.html',0,20,124);
Menu2_11=new Array('B-Soccer','boyssoccer.html',0,20,124);
Menu2_12=new Array('Softball','softball.html',0,20,118);
Menu2_13=new Array('Swimming','swimming.html',0,20,118);
Menu2_14=new Array('Tennis','tennis.html',0,20,118);
Menu2_15=new Array('Track','trackandfield.html',0,20,118);
Menu2_16=new Array('G-Volleyball','volleyball.html',0,20,118);
Menu2_17=new Array('B-Volleyball','boysvolleyball.html',0,20,118);
Menu2_18=new Array('B-Water Polo','waterpolo.html',0,20,118);
Menu2_19=new Array('G-Water Polo','gwaterpolo.html',0,20,118)
Menu2_20=new Array('Wrestling','wrestling.html',0,20,118);

Menu3=new Array(' Careers','',7,24,118);
Menu3_1=new Array('DECA','deca.html',0,20,118);
Menu3_2=new Array('FCCLA','fcclaclub.html',0,20,118);
Menu3_3=new Array('Finance Academy','financeacademy.html',0,20,118);
Menu3_4=new Array('Future Educators','futureeducators.html',0,20,118);
Menu3_5=new Array('HOSA','HOSA.html',0,20,118);
Menu3_6=new Array('ASEM','sportsacademy.html',0,20,118);
Menu3_7=new Array('JROTC','jrotc.html',0,20,118);

Menu4=new Array(' Clubs','',19,20,118);
Menu4_1=new Array('Art Association','artassociation.html',0,20,118);
Menu4_2=new Array('ASPIRA','Aspira.html',0,20,118);
Menu4_3=new Array('Band','band.html',0,20,118);
Menu4_4=new Array('Book Club','bookclub.html',0,20,118);
Menu4_5=new Array('Chess Club','chess.html',0,20,124);
Menu4_6=new Array('Chorus','chorus.html',0,20,124);
Menu4_7=new Array('Computer Club','computerclub.html',0,20,118);
Menu4_8=new Array('Drama/Thespian','drama.html',0,20,124);
Menu4_9=new Array('First Priority','firstpriority.html',0,20,118);
Menu4_10=new Array('French Club','french.html',0,20,118);
Menu4_11=new Array('Human Relations','humanrelations.html',0,20,118);
Menu4_12=new Array('IB Club','ibclub.html',0,20,118);
Menu4_13=new Array('Japan Club','japaneseclub.html',0,20,118);
Menu4_14=new Array('Multicultural Club','multiculturalclub.html',0,20,118);
Menu4_15=new Array('Quill & Scroll','quillandscroll.html',0,20,118);
Menu4_16=new Array('Quran Club','quranclub.html',0,20,118);
Menu4_17=new Array('Robotics','robotics.html',0,20,118);
Menu4_18=new Array('Spanish Club','spanishclub.html',0,20,118);
Menu4_19=new Array('Surf Club','surfclub.html',0,20,118);

Menu5=new Array(' Community', '',9,20,118);
Menu5_1=new Array('Art Department','artdepart.html',0,20,118);
Menu5_2=new Array('BAAD','baad.html',0,20,118);
Menu5_3=new Array('Best Buddies','bestbuddies.html',0,20,118);
Menu5_4=new Array('Crime Watch','crimewatch.html',0,20,118);
Menu5_5=new Array('DFYiT','dfyit.html',0,20,118);
Menu5_6=new Array('Student Govt','studentgovernment.html',0,20,118);
Menu5_7=new Array('Key Club','keyclub.html',0,20,118);
Menu5_8=new Array('Junior Rotary','rotary.html',0,20,118);
Menu5_9=new Array('Save Whats Left','savewhatsleft.html',0,20,118);

Menu6=new Array(' Guidance','',9,24,118);
Menu6_1=new Array('Brace','brace.html',0,20,118);
Menu6_2=new Array('Bright Futures','brightfutures.html',0,20,118);
Menu6_3=new Array('Butler','butler.html',0,20,118);
Menu6_4=new Array('Counselors','counselors.html',0,20,118);
Menu6_5=new Array('Curriculum','curriculuma.html',0,20,118);
Menu6_6=new Array('Credits Needed','requirements.html',0,20,118);
Menu6_7=new Array('Online Classes','onlinestudies.html',0,20,118);
Menu6_8=new Array('Volunteer Hours','servicehours.html',0,20,118);
Menu6_9=new Array('Virtual Counselor','https://www.browardschools.com/virtualcounselor/',0,20,118);

Menu7=new Array(' Home','index.html',0,20,118);

var NoOffFirstLineMenus=7;

As you see, if we wanted to change the wait time between banner change, we'd have to edit every single page, and thats horrible...
Also.. we can't add links to the partners' website using the first code on the Home Page...

The problem we think we have is that there's a link over a link problem...
Or maybe something to do with java over .png's (as the banners are saved, so that the link can be added to them)

We need your help to make it so all we have to do is change the code in the topmenu.js file... and not have to add something to the <head> tag on every page.. since there's over 2800 pages on the school network... :tazz: :)

If someone has an answer to this, please respond as efficiently as soon as you can because today is friday, and I cant get on the school network from my home computer.
I have Dreamweaver and a copy of the .js file, index, indexprototype pages..., and the banner script's accompanying files... so I can make corrections at my place.. but I won't be able to post it on the school website.. maybe on a different location.. but thats a different story...

So.. if you require more information, or have an answer or something, please respond.. this is a problem that needs to be solved immediately....

Thanks in advance..
-Nikunj

P.S. I also have a copy of the style.css.. if that might need to be changed for some bizarre reason...
  • 0

Advertisements


#2
Paradox924X

Paradox924X

    Member

  • Topic Starter
  • Member
  • PipPipPip
  • 208 posts
Major EDIT: Instead of using the index page as the code that is long but works, we'll be using this page:
FbII3.html
We are uploading the new banners but we'll skip this file...

Edited by Paradox924X, 19 November 2005 - 09:06 AM.

  • 0

#3
Paradox924X

Paradox924X

    Member

  • Topic Starter
  • Member
  • PipPipPip
  • 208 posts
Can anyone help me out with this? Please?
  • 0

#4
bengaluru

bengaluru

    Member

  • Member
  • PipPipPip
  • 143 posts
I am not sure whether you could do that. But if you want the menus to appear behind the banner, will that not hide your menus. I think this is what it should be when you use DHTML. I am curious to know as well as to how you resolve this. Good Luck
  • 0

#5
Paradox924X

Paradox924X

    Member

  • Topic Starter
  • Member
  • PipPipPip
  • 208 posts
No, the PROBLEM is that the menus DO go behind the banner, and I need to FIX it..
THanks for the luck though~!
  • 0

#6
Paradox924X

Paradox924X

    Member

  • Topic Starter
  • Member
  • PipPipPip
  • 208 posts
Well.. If you guys can't help me find a solution to the problem, help me find a new, better-working banenr script please?
See details here:
http://www.geekstogo...showtopic=80189
  • 0






Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP