Paid affiliate advertisement
I need to implement a navigation
Hello, I have tried all I known so far to put my navigation on my website.
I have completed the navigation, you can take a look at it here:
http://jamrie.com/navigation.html
This navigation does have .js and css on it.
The css can be added with the rest css in style.css
The problem is adding the .js, I need a way to tell the webpage that it needs to get the .js
Since this is going to be on all the pages, I was suggesting adding it to the page.tpl.php
I don't really care how you do it. All that matters is that the navigation is working on the website.
Thank you
Here is an image (the red border represents were the navigation will be):
http://i184.photobucket.com/albums/x109/valerymenelas/finalnav.png
My budget for this is: $15

=-=
drupal_add_js() function can be used as can the .info file see: http://drupal.org/node/304255
Hack way would be to put the .js in page.tpl.php which gets called on every page.
page.tpl.php
to add js to page.tpl.php you can use this
<script type="text/javascript" src="<?php print '/'.path_to_theme() ?>/myscript.js"></script>and put myscript.js inside your theme folder
Attiks - graphic design and web applications
For example, if the .js
For example, if the .js script is name menu.js, where will I put that?
------------------------------------------------------------------------
Personal Advice Website build on Drupal 6: Jamrie.com
=-=
change myscript.js to menu.js in the snippet and add the js file to your theme.
The code is there, but it
The code is there, but it doesn't look like it is working.
I give up.
If you can do this for me, please send me a quote.
------------------------------------------------------------------------
Personal Advice Website build on Drupal 6: Jamrie.com
missing div
I don't see
<div id="MenuIDMenuBar1"></div>on your homepage, so you'll get an error while building the menu.It can help to move the script tag to the end of your page.tpl.php right before the closing body tag.
Attiks - graphic design and web applications
I am testing it on
I am testing it on http://jamrie.com/hof It is suppose to appear at the top.
I put the in a block, but nothing is appearing.
------------------------------------------------------------------------
Personal Advice Website build on Drupal 6: Jamrie.com
anyone?
anyone?
------------------------------------------------------------------------
Personal Advice Website build on Drupal 6: Jamrie.com
pls dont take me wrong. I
pls dont take me wrong. I would suggest that you give up this idea of integrating a third party script and use something that is available in drupal or better create one specifically for your website. The js that you are trying to integrate is depending upon a bunch of predefined html tags that drupal does not output by default. Also the script is using tables for the navigation which is not a very good idea.
The amount of time or money (not $15, but this will cost you more) that you spend can be better utilized if you look for other ways. Drupal is already including the powerful jquery framework and it is wise to look for some jquery plugin that does similar to what you are looking for.
I don't give up. I already
I don't give up.
I already hired a freelancer for $20, to complete this project.
It is completed, you can view it here: http://Jamrie.com/hof
Thank you for all you guys help.
------------------------------------------------------------------------
Personal Advice Website build on Drupal 6: Jamrie.com
why would you prefer to have
why would you prefer to have a manually created menu instead of the dynamically created drupal menu? Had the same menu effect been achieved in the drupal generated menu, this would have been better.
just my two cents...
Sravan Kumar Potnuru