The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

how to add code inside <head></head> tag

3 posters

Go down

how to add code inside <head></head> tag Empty how to add code inside <head></head> tag

Post by Darkness_demoN March 9th 2012, 3:58 pm

Hi i see so many scripts in dynamicdrive it write
Step 1: Add the below script to the <HEAD> section of your page:
So how to add scripts in this head. You have css field, Javascript codes management but i dont see that thing for the head tag.
Can you tell me how to add code in?
Darkness_demoN
Darkness_demoN
Forumember

Male Posts : 160
Reputation : 10
Language : Bulgarian
Location : Bulgaria, Kavarna or Burgas

http://mangabg.darkbb.com

Back to top Go down

how to add code inside <head></head> tag Empty Re: how to add code inside <head></head> tag

Post by Darkness_demoN March 10th 2012, 11:23 am

Rideem3 wrote:If it's JavaScript, create a new JavaScript. Wink
i think it isnt't.

can you give me example how to do this http://www.dynamicdrive.com/dynamicindex5/speechbubblestooltip.htm
and more important ho to do that
tep 1: Insert the following code into the <head> section of your page:
Darkness_demoN
Darkness_demoN
Forumember

Male Posts : 160
Reputation : 10
Language : Bulgarian
Location : Bulgaria, Kavarna or Burgas

http://mangabg.darkbb.com

Back to top Go down

how to add code inside <head></head> tag Empty Re: how to add code inside <head></head> tag

Post by Darkness_demoN March 12th 2012, 12:20 am

Bump ?
Darkness_demoN
Darkness_demoN
Forumember

Male Posts : 160
Reputation : 10
Language : Bulgarian
Location : Bulgaria, Kavarna or Burgas

http://mangabg.darkbb.com

Back to top Go down

how to add code inside <head></head> tag Empty Re: how to add code inside <head></head> tag

Post by enlil March 12th 2012, 12:30 am

Hi,


Code:
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script>
Is already included.

For :

Code:
<link rel="stylesheet" type="text/css" href="speechbubbles.css" />
Directly put the .css in your css stylesheet.

For :

Code:
<script src="speechbubbles.js">

/***********************************************
* Speech Bubbles Tooltip- (c) Dynamic Drive (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit http://www.dynamicdrive.com/ for this script and 100s more.
***********************************************/

</script>

<script type="text/javascript">

jQuery(function($){ //on document.ready
    //Apply tooltip to links with class="addspeech", plus look inside 'speechdata.txt' for the tooltip markups
   $('a.addspeech').speechbubble({url:'speechdata.txt'})
})

</script>
Create a new javascript and put in it the content of speechbubbles.js followed by :

Code:
jQuery(function($){ //on document.ready
    //Apply tooltip to links with class="addspeech", plus look inside 'speechdata.txt' for the tooltip markups
   $('a.addspeech').speechbubble({url:'speechdata.txt'})
})
You will need to host speechdata.txt as an html page and change the 'speechdata.txt' url in the script.

Cordially.
avatar
enlil
New Member

Posts : 16
Reputation : 5
Language : c

Back to top Go down

how to add code inside <head></head> tag Empty Re: how to add code inside <head></head> tag

Post by Niko March 13th 2012, 6:44 pm

Darkness_demoN wrote:Hi i see so many scripts in dynamicdrive it write
Step 1: Add the below script to the <HEAD> section of your page:
So how to add scripts in this head. You have css field, Javascript codes management but i dont see that thing for the head tag.
Can you tell me how to add code in?

Hi!

if you need to add a code in <head> tags you need to have PunBB or PhpBB2 and edit the templates Mr. Green
Then you open the template called overall_header and find it Smile

Friendly,
Niko
Niko
Helper
Helper

Male Posts : 3108
Reputation : 245
Language : English, Italian, French
Location : Italy

https://www.fmcodes.net/

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum