Obviously Not a Developer - Can Anyone Help?
Hi all!
I have limited Java experience and I am having some difficulty incorporating this code. I was wondering if anyone could identify the errors in my ways ?
I have a header.tpl file as shown below. Everything works great on my main page (www.guitaristworks.com/artists/) and shows the menu links at the top of the page.
I then have artist themes where I am calling the header.tpl file to use in the top of my themes. The problem is the two graphic images are displayed but the menu is missing in action.
You can go HERE and see the IE error that I am getting.
Anyone have any idea why I can't get the menu in the top of the theme pages?
Thanks for the help everyone!
header.tpl (main header)
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
{literal}
<style>
all.clsMenuItemNS, .clsMenuItemIE{text-decoration: none; font: bold 12px Arial; color: "#CC9900"; cursor: hand; z-index:100}
#MainTable A:hover {color: "#FFFFCC";}
</style>
<script language="JavaScript">
//Top Nav Bar I v2.1- By Constantin Kuznetsov Jr.
//Modified by Dynamic Drive for various improvements
//Visit http://www.dynamicdrive.com for this script
var keepstatic=0 //specify whether menu should stay static (works only in IE4+)
var menucolor="#000000" //specify menu color
var submenuwidth=150 //specify sub menus' width
</script>
{/literal}
<title>Welcome to GuitaristWorks!</title>
<link rel="stylesheet" type="text/css" href="{$JAMROOM_URL}/templates/index/default_index.css">
<link rel="shortcut icon" href="favicon.ico">
<!--[if gte IE 5.5000]>
<script type="text/javascript" language="javascript" src="{$JAMROOM_URL}/include/jamroom_pngfix.inc.js"></script>
<![endif]-->
<script type="text/javascript" language="javascript">
{$POPUP_JAVACODE}
</script>
</head>
<body class="body">
{literal}
<script language="JavaScript" src="../artists/menu.js"></script>
<script language="JavaScript" src="../artists/menucontext.js"></script>
<script language="JavaScript">
showToolbar();
</script>
<script language="JavaScript">
function UpdateIt(){
if (ie&&keepstatic&&!opr6)
document.all["MainTable"].style.top = document.body.scrollTop;
setTimeout("UpdateIt()", 200);
UpdateIt();
</script>
{/literal}
<center>
<br>
<table cellspacing="4" cellpadding="0" class="table">
<tr>
<td colspan="2" width="100%" style="padding: 0px">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td width="100%" class="banner" style="padding: 10px">
<A HREF="http://www.guitaristworks.com/artists/"><img src="{$JAMROOM_URL}/templates/index/images/logo.gif" align="middle" border="0" style="vertical-align: middle"/></a>
<td align="right"<IMG SRC="http://service.bfast.com/bfast/serve?bfmid=5xxxxx&siteid=4xxxxxx1&bfpage=mfsmalltrans" BORDER="0" WIDTH="1" HEIGHT="1" NOSAVE >
<A HREF="http://service.bfast.com/bfast/click?bfmid=xxxxx&siteid=xxxxxxx&bfpage=mfsmalltrans" TARGET="_blank"><IMG SRC="http://img3.musiciansfriend.com/dbase/pics/affiliate/automerch/affil_gifs/mf_logo_trans.gif" BORDER="0" WIDTH="238" HEIGHT="60" ALT="mflogo_trans 238x60"></A>
</td>
</tr>
</table>
</td>
</tr>*******************************************************
common_header.tpl (for the theme pages)
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Jamroom {JAMROOM_VERSION}">
<?php include("{JAMROOM_URL}/index.php?template=header.tpl"); ?></TR>
</TABLE>
<center>
<script language="JavaScript" type="text/javascript">
<!--
ctxt_ad_partner = "xxxxxxx";
ctxt_ad_section = "";
ctxt_ad_bg = "";
ctxt_ad_width = 728;
ctxt_ad_height = 90;
ctxt_ad_bc = "000000";
ctxt_ad_cc = "000000";
ctxt_ad_lc = "66CCFF";
ctxt_ad_tc = "FFFFFF";
ctxt_ad_uc = "78C900";
// -->
</script>
<script language="JavaScript" src="http://ypn-js.overture.com/partner/js/ypn.js">
</script>
</center>
<title>: {BAND_NAME} : stations :</title>
<link rel="stylesheet" type="text/css" href="{THEME_URL}/{SITE_STYLE}.css">
<script type="text/javascript" language="javascript">
{POPUP_JAVACODE}
</script>
</head>
<body class="thBody">
<center>
<table class="thTable">
<tr>
<td colspan="2" class="thHeader"> {BAND_NAME}</td>
</tr>
<tr>
<td class="thBandInfo">{BAND_STORY}</td>
<td class="thBandInfo"><img src="{BAND_IMAGE}&width=400" alt="{BAND_NAME}" border="0" width="400"></td>
</tr>
<tr>
<td colspan="2" class="thHeader">
<table width="100%" cellpadding="0" cellspacing="0" class="thMsgTable">
<tr>
<?php if ('{QUOTA_SONGS}' == 'yes' && {SONG_COUNT} > 0) { ?>
<td class="thCatHead"><a href="index.php">: music :</a></td>
<?php } if ('{QUOTA_VIDEO}' == 'yes' && {VIDEO_COUNT} > 0) { ?>
<td class="thCatHead"><a href="video.php">: videos :</a></td>
<?php } if ('{QUOTA_MESSAGE}' == 'yes' && {MESSAGE_COUNT} > 0) { ?>
<td class="thCatHead"><a href="message.php">: messages :</a></td>
<?php } if ('{QUOTA_STORE}' == 'yes' && {ITEM_COUNT} > 0) { ?>
<td class="thCatHead"><a href="store.php">: store :</a></td>
<?php } if ('{QUOTA_CALENDAR}' == 'yes' && {EVENT_COUNT} > 0) { ?>
<td class="thCatHead"><a href="events.php">: events :</a></td>
<?php } if ('{QUOTA_RADIO}' == 'yes' && {RADIO_COUNT} > 0) { ?>
<td class="thCatHead"><a href="radio.php">: stations :</a></td>
<?php } if ('{QUOTA_PHOTOS}' == 'yes' && {PHOTO_COUNT} > 0) { ?>
<td class="thCatHead"><a href="photo.php">: photos :</a></td>
<?php } ?>
<td class="thCatHead"><a href="about.php">: about :</a></td>
</tr>
</table>
</td>
</tr>
Firefox has a Javascript console available from the menu and also through the pseudo-URL javascript:
It complaints about showToolbar being referenced and not defined.
<script language="JavaScript">
showToolbar();
</script>
Similar Messages
-
I bought a second hand G4 iBook with iLife 09 on it. I have copied iLife to my new Macbook Pro. The applications would not open, so I did a software update and update all three applications, but they will still not open. Can anyone help?
The seller should have given you the original disk so that you can reinstall as needed. But it likely was a single-user license (which really means single computer) so you can only have a copy on one computer at a time. If the seller didn't give you the disk he is probably still using the software on his new Mac. Your best option to get any of the iWork apps to use in OS X 10.6.6 or later is through the Mac App Store. You can then install them on any Mac you have that has access to the Mac App Store using your Apple ID.
-
I cannot get my messages/text messages to work om my Hi. I am sending this thru my iPad. Respond and let me know you got it. Fun fun fun. . I did go and try to another Apple ID different from my iPhone but it still will not work. Can anyone help me?
chicx wrote:
This is the third time of writing this on your Apple Support Communities!
Not with your current user id.
Far too much uneccesary information in your post, which only confuses things, a vast amount!
Let's start with iTunes.
Have you updated iTunes to 11.1.5, because the previous version did appear to have an issue about seeing iPods?
With iTunes 11.1.5 installed, look in Edit/Preferences/Devices, (or use the ALT key, followed by the E key and then the F key) and make sure that the box named Prevent iPods, iPhones and iPads from syncing automatically does not have a tick in the box.
Once you have doen those two things, check to see if the iPod is seen by iTunes.
chicx wrote:
By the way, what does IOS mean? (I thought IO stood for operating system, but am flummoxed by the S on the end.
Really?
OS stands for Operating System. (In computer speak, IO means Input/Output.)
iOS originally stood for iPhone Operating System, but it now refers to the iPod Touch and iPhone. The iPod Classic, which you have listed in your profile as your iPod, does not use iOS.
I assume that you have been listening to the Podcast in your iTunes on the computer as you cannot transfer it to your iPod. It's what I'd do. -
On my macbook pro I have a message on my homepage telling me that certain items want to use my keychain. I've pressed cancel the message will not go. The mac is now running very slow and iphoto and safari are not working. Can anyone help?
What version of Mac OS X?
What home page?
What browser? -
While updating iphone software to 5.0.1, I am getting error that Iphone could not be updated because the firmware file not compatible.
Can anyone help me to resolve this issue.Using iTunes 10.5.2.11 on a PC running 64 bit Windows 7
First did a full back up of iphone using iTunes
Put iphone into Recovery Mode ( http://support.apple.com/kb/ht1808 ). Erases all user data and settings!
Disconnected USB cable from iphone
Powered off iphone by holding down Sleep/Off button until slider appeared, slid to off, waited until screen dark
Pressed and kept holding Home button while plugging cable back into phone
I still saw the graphic on the iphone that said to plug into iTunes, so I unplugged and re-plugged cable. (I may have released the Home button too soon)
Recovery Mode alert came up in iTunes.
Followed all iTunes prompts to restore phone - it downloaded and sucessfully installed iOS 5.0.1
iphone did not appear in iTunes due to missing pairing file (that made me nervous)
iphone was now at factory settings. I followed prompts on iphone screen to start reactivation process
Eventually the iphone asked if I wanted to restore from a back-up (whew!)
A window opened in iTunes and I was able to select my previous back-up file for the restore
A full restore from back-up then occured
I also allowed a carrier settings update to occur when prompted (not sure that happens in all cases)
When the restore was done I had to re-enter some passwords, but everything was there
iOS is now 5.0.1 (9A406). The whole process took about an hour. -
I am not able to get any directions on my maps i am using iphone 4s and updated to ios 6.1.3 and whenever i try to find a route it always says directions could not be found can anyone help in fixing it
Maps: Turn-by-Turn Navigation
Argentina Australia Austria Belgium Brunei Bulgaria Canada Croatia Czech Republic Denmark Egypt Estonia Finland France Germany Greece Hong Kong Hungary Ireland Israel Italy Japan Latvia Liechtenstein Lithuania Luxembourg Macau Malaysia Malta Mexico Morocco Netherlands New Zealand Norway Poland Portugal Romania Russia San Marino Singapore Slovakia Slovenia South Africa South Korea Spain Sweden Switzerland Taiwan Thailand Turkey UK Ukraine USA
Back to Top -
When I open a word document attachment in mail for IOS 7.1.1 the previous jpeg is showing on the first page. When I open the attachment from mail in mac OS X the jpeg does not appear. Can anyone help?
gonsa47 wrote:
When I open it in pages or word the correct company logo appears.
Does the mail app display whatever is in the document without the ability to differentiate between hidden or non hidden images?
The mail app will not display fillable form fields in PDF files that can be seen in real PDF apps. I say real PDF apps because the form fields in PDF apps will not appear in the iBooks app either. IMO, iBooks is not a real PDF app.
So, I would say that the mail app cannot differentiate between hidden and non hidden items -
My iWeb just crashed and has vanished from my computer. The icon is visible but it will not open. Can anyone help? I desperately need it fixed as its my business website and i was in the process of updating it
Where was this site hosted?
Apple eliminated iWeb in July!!!
http://en.wikipedia.org/wiki/IWeb#Discontinuation_of_iWeb_in_iCloud_Transition
http://www.macworld.com/article/1160728/apple_mobile_me_transition_faq.html -
My Adobe Reader XI 11.0.09 fails to open pdf's. Error message - "because the associated helper application does not exist." Can anyone help me?
Okay. I will try this again. I did remove and reinstall earlier, but will
do it now.
regards, Mike
On Wed, Oct 15, 2014 at 12:55 PM, Sabian Zildjian <[email protected]> -
I get this error message when trying to upgrade software "The Iphone update software server could not be contacted" Can anyone help?
I'd start with the following document:
iTunes for Windows: iTunes cannot contact the iPhone, iPad, or iPod software update server -
I was trying to update operating system of my iphone but it gives the following error(We're sorry, we are unable to continue with your activation at this time) Now my phone is not work working can anyone help?
Is your iphone hacked/jailbroken?
-
I was changing my desktop screen saver in system preferences>screen protection. Now it says it is "Loading Images" and won't stop. The Colourful wheel goes around for ever and It does not stop. Can anyone help me?
Welcome to the Apple Support Communities
I have seen a lot of cases like your issue, and it's easy to solve.
First, open Disk Utility, select Macintosh HD in the sidebar and repair permissions. Sometimes, a permission can be damaged and it makes that an application doesn't work properly.
If that doesn't work, open Finder, select Go menu > Go to Folder, type ~/Library/Prefereces, delete "com.apple.desktop.plist" and "com.apple.systempreferences.plist" and restart -
Cannot download Maverick. Get message that production distribution file could not be verified. It may be damageed or was not signed. Can anyone help?
Mavericks installer can’t be verified
Mavericks Installer can’t be verified (2) -
I have been creating an Alernate layout (tablet) from my desktop version. Today when I open it the Tablet Plan is not there! Can anyone help me please. I am using windows 7. I have not had any problems like this before. Could it be a clitch or a muse error.
Deborah
[email protected]Maybe a silly question: You switched to the "tablet" button on top of the "plan" window?
-
I downloaded itunes but when i try to install i get an error saying "There is a problem with the windows install. A programe needed to install could not be open"
can anyone help?Ok, Below is what worked for me somewhat.
Okay ... try downloading and saving a copy of the iTunesSetup.exe to your PC from the Apple website:
http://www.apple.com/itunes/download/
Now download a trial version of WinRAR:
http://www.rarlab.com/download.php
Open the iTunesSetup.exe with WinRAR, and try to run the standalone install of Apple Application Support from the AppleApplicationSupport.msi you find in there.
It works now BUT there are still problems. It is not allowing or recognizing my Cd/DVD player and i CANT burn. Looking still for this fix.
Maybe you are looking for
-
Hard Disk verifies OK but wont boot. Can't re-install or erase.
I have a problem with my Powerbook (Tibook) G4 667. It won't boot. After the initial grey screen, it gets as far as a completely blue screen and eventually resorts to the Darwin console (?). I'm running OS X 10.4.? (sorry - can't remember when I last
-
I can't switch apps/programs on my iPhone 4. Whatever app I'm in is the only app I can use unless I restart my iPhone. Then I can choose a new app/program to use but then it's stuck on that app/program until I reboot my iPhone. Syncing it with iTu
-
Working sample of a RisPort SelectCmDevice query
Would anyone mind to share a sample? The documentation is pretty much useless and since Cisco still doesn't understand what a webservice is (no code generation with axis, jax-ws and wsdl.exe) I'm stuck having to do it the hard way yet again, but what
-
m not making export sales order. i m making general sales order in document typr--OR. Also after that this message is coming. this is the problem Error message "Legal control: issue error log item
-
Hi friends, I have a query which gives me the data as of yesterday.I want to run this query daily to give me the status as of yesterday.Now my problem is, can i populate the query with data everyday without hitting the database?If so what is the opt