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.

Javascripts

3 posters

Go down

Javascripts Empty Javascripts

Post by miyaca September 12th 2008, 5:55 pm

hi uh! question can you add javascript to the forums if yes can you please help me add a javascript in the forum.
miyaca
miyaca
Forumember

Female Posts : 85
Reputation : 0
Language : English
Location : The Mists

http://angelflare.darkbb.com/

Back to top Go down

Javascripts Empty Re: Javascripts

Post by Christos September 12th 2008, 6:13 pm

Hey,

Of course you can add a javascript to your forum!
If you found a free one you would like to use just copy and paste the code to your HTML page.
It is 100% sure that it will work on your OWN Html pages that can be found in modules >> html pages management .

Though in your main Forum with the subforums ext you cant really do it except if you have made it since some of javascripts (80%) require coding on the header which you can not edit on templates made by Hitskin and/or other users.

Hope to be helping,

Regards,
Christos
Christos
Christos
Active Poster

Male Posts : 1238
Reputation : 37
Language : English,French,Greek,Luxembourgish
Location : Luxembourg

http://misery.in-goo.com

Back to top Go down

Javascripts Empty Re: Javascripts

Post by miyaca September 12th 2008, 6:25 pm

well do you know any free script sites for me to get something useful from?
miyaca
miyaca
Forumember

Female Posts : 85
Reputation : 0
Language : English
Location : The Mists

http://angelflare.darkbb.com/

Back to top Go down

Javascripts Empty Re: Javascripts

Post by Christos September 12th 2008, 11:29 pm

Hey again,

Well it depends what you want for.
More used FREE scripts can be found at www.javascriptkit.com and some other widgets embeds(non script but have function) can be found with a simple google search Smile

Regards,
Christos
Christos
Christos
Active Poster

Male Posts : 1238
Reputation : 37
Language : English,French,Greek,Luxembourgish
Location : Luxembourg

http://misery.in-goo.com

Back to top Go down

Javascripts Empty Re: Javascripts

Post by miyaca September 13th 2008, 5:37 am

yeah i checked out the site. and it has great scripts. i will just bump the thred if i need any help. thanks Christos...
miyaca
miyaca
Forumember

Female Posts : 85
Reputation : 0
Language : English
Location : The Mists

http://angelflare.darkbb.com/

Back to top Go down

Javascripts Empty Re: Javascripts

Post by Christos September 13th 2008, 3:36 pm

Hello,

It is great to help and it is even great to see that " Thanks Christos"!
Thank you for thanking me lol!
Makes me feel useful

Regards,
Christos

P.S
another great site full of javascripts is this one
http://www.javascriptcity.com/scripts/
Christos
Christos
Active Poster

Male Posts : 1238
Reputation : 37
Language : English,French,Greek,Luxembourgish
Location : Luxembourg

http://misery.in-goo.com

Back to top Go down

Javascripts Empty Re: Javascripts

Post by miyaca September 13th 2008, 4:23 pm

hi need help posting a script here is the instructions
# Paste the HEAD Section code from above between the <head> and </head> tags on your page.
#

Find the matching lines below in the script and change the text in red to the text you wish to use:

window.alert('Welcome to my Web Site!');

but i don't know were to post it...
miyaca
miyaca
Forumember

Female Posts : 85
Reputation : 0
Language : English
Location : The Mists

http://angelflare.darkbb.com/

Back to top Go down

Javascripts Empty Re: Javascripts

Post by Christos September 13th 2008, 4:44 pm

miyaca wrote:hi need help posting a script here is the instructions
# Paste the HEAD Section code from above between the <head> and </head> tags on your page.
#

Find the matching lines below in the script and change the text in red to the text you wish to use:

window.alert('Welcome to my Web Site!');

but i don't know were to post it...

you put that in any place you want in the <body> section and it will work just like that : www.s5ela.tk take a look.

this is what you want right?Razz
Christos
Christos
Active Poster

Male Posts : 1238
Reputation : 37
Language : English,French,Greek,Luxembourgish
Location : Luxembourg

http://misery.in-goo.com

Back to top Go down

Javascripts Empty Re: Javascripts

Post by miyaca September 13th 2008, 5:02 pm

section? and yes thats what i like to have.
miyaca
miyaca
Forumember

Female Posts : 85
Reputation : 0
Language : English
Location : The Mists

http://angelflare.darkbb.com/

Back to top Go down

Javascripts Empty Re: Javascripts

Post by Christos September 13th 2008, 5:22 pm

Hey look...

Section is place or cell...
In other words.

<html>
<head>
here is the head , the place you inserted the first part of the script right?
<title> this is your pages title right miyaca?</tile></head>
<body>
BOOO!! this is the body section in where you put the text ext ext.
here is where you should put the 2nd part of the script (body section)
<body>
<!Did you understand?>
<html>

Regards,
Christos
Christos
Christos
Active Poster

Male Posts : 1238
Reputation : 37
Language : English,French,Greek,Luxembourgish
Location : Luxembourg

http://misery.in-goo.com

Back to top Go down

Javascripts Empty Re: Javascripts

Post by miyaca September 13th 2008, 5:26 pm

were? can you like show me a screen shot sorry. but i really don't know...
miyaca
miyaca
Forumember

Female Posts : 85
Reputation : 0
Language : English
Location : The Mists

http://angelflare.darkbb.com/

Back to top Go down

Javascripts Empty Re: Javascripts

Post by miyaca September 14th 2008, 6:23 am

bump bump...
miyaca
miyaca
Forumember

Female Posts : 85
Reputation : 0
Language : English
Location : The Mists

http://angelflare.darkbb.com/

Back to top Go down

Javascripts Empty Re: Javascripts

Post by miyaca September 15th 2008, 7:47 am

sorry to bump again but were can i put the pop-up script?
miyaca
miyaca
Forumember

Female Posts : 85
Reputation : 0
Language : English
Location : The Mists

http://angelflare.darkbb.com/

Back to top Go down

Javascripts Empty Re: Javascripts

Post by Christos September 15th 2008, 8:46 am

Hey,

be patient , i ll get a screenshot right now, and edit my post

Regards,
Christos

P.S I ll be late to work for you^^

EDIT:
Javascripts Picture3-2
Christos
Christos
Active Poster

Male Posts : 1238
Reputation : 37
Language : English,French,Greek,Luxembourgish
Location : Luxembourg

http://misery.in-goo.com

Back to top Go down

Javascripts Empty Re: Javascripts

Post by miyaca September 15th 2008, 9:24 am

o0o0o0oh ok thanks. were can i find that HTML section? sorry to be so dumb...
miyaca
miyaca
Forumember

Female Posts : 85
Reputation : 0
Language : English
Location : The Mists

http://angelflare.darkbb.com/

Back to top Go down

Javascripts Empty Re: Javascripts

Post by Animal Lover September 15th 2008, 9:26 am

admin panel>Modules>HTML pages Management.
Animal Lover
Animal Lover
Forumember

Male Posts : 298
Reputation : 0
Language : English
Location : in the middle of no where.

http://clubpenguinfans.online-talk.net/

Back to top Go down

Javascripts Empty Re: Javascripts

Post by miyaca September 15th 2008, 10:18 am

ok so i pasted the script and submitted it but nothing happened. any help?
miyaca
miyaca
Forumember

Female Posts : 85
Reputation : 0
Language : English
Location : The Mists

http://angelflare.darkbb.com/

Back to top Go down

Javascripts Empty Re: Javascripts

Post by Animal Lover September 15th 2008, 10:20 am

miyaca wrote:ok so i pasted the script and submitted it but nothing happened. any help?

what did you type in?
Animal Lover
Animal Lover
Forumember

Male Posts : 298
Reputation : 0
Language : English
Location : in the middle of no where.

http://clubpenguinfans.online-talk.net/

Back to top Go down

Javascripts Empty Re: Javascripts

Post by miyaca September 15th 2008, 10:30 am

i pasted the pop-up message script. then summited it.
miyaca
miyaca
Forumember

Female Posts : 85
Reputation : 0
Language : English
Location : The Mists

http://angelflare.darkbb.com/

Back to top Go down

Javascripts Empty Re: Javascripts

Post by Animal Lover September 15th 2008, 10:34 am

ill have a test of it on my forum, to make sure the code is working Wink then ill let you know, okay?
Animal Lover
Animal Lover
Forumember

Male Posts : 298
Reputation : 0
Language : English
Location : in the middle of no where.

http://clubpenguinfans.online-talk.net/

Back to top Go down

Javascripts Empty Re: Javascripts

Post by miyaca September 15th 2008, 10:51 am

ok... here it is

<script type="text/javascript">
<!--
window.alert('Welcome to my Web Site!');
//-->
</script>
miyaca
miyaca
Forumember

Female Posts : 85
Reputation : 0
Language : English
Location : The Mists

http://angelflare.darkbb.com/

Back to top Go down

Javascripts Empty Re: Javascripts

Post by miyaca September 15th 2008, 10:53 am

sorry.. here it is..

Code:
<script type="text/javascript">
<!--
window.alert('Welcome to my Web Site!');
//-->
</script>
miyaca
miyaca
Forumember

Female Posts : 85
Reputation : 0
Language : English
Location : The Mists

http://angelflare.darkbb.com/

Back to top Go down

Javascripts Empty Re: Javascripts

Post by Animal Lover September 15th 2008, 10:54 am

hmm, that is a real code. its puzzeled me, it should just be able to go into a HTML page and then its there, but I avent a clue. this is for a popup?
Animal Lover
Animal Lover
Forumember

Male Posts : 298
Reputation : 0
Language : English
Location : in the middle of no where.

http://clubpenguinfans.online-talk.net/

Back to top Go down

Javascripts Empty Re: Javascripts

Post by miyaca September 15th 2008, 11:00 am

yes. a pop-up message script.
miyaca
miyaca
Forumember

Female Posts : 85
Reputation : 0
Language : English
Location : The Mists

http://angelflare.darkbb.com/

Back to top Go down

Javascripts Empty Re: Javascripts

Post by Animal Lover September 15th 2008, 11:21 am

I tried to do it on my forum and it doesnt work as well.
Animal Lover
Animal Lover
Forumember

Male Posts : 298
Reputation : 0
Language : English
Location : in the middle of no where.

http://clubpenguinfans.online-talk.net/

Back to top Go down

Javascripts Empty Re: Javascripts

Post by miyaca September 15th 2008, 11:41 am

then how will this be solved?
miyaca
miyaca
Forumember

Female Posts : 85
Reputation : 0
Language : English
Location : The Mists

http://angelflare.darkbb.com/

Back to top Go down

Javascripts Empty Re: Javascripts

Post by Christos September 15th 2008, 4:53 pm

Hey,

ok you 2 dont know a thingy about it.
Firstly...

Open and create new HTML document ....
Insert Title...
and take a look!
Code:

1.FIRST ADD TITLE TO YOUR PAGE - WELCOME TO MY SITE FOR EXAMPLE
2. THEN CLICK ON [quote]Do you wish to use your forum page header and page footer ?[/quote] CLICK YES SINCE YOU WANT IT TO BE LIKE YOUR FORUMS TEMPLATE.

THEN TYPE IN...

<HTML>
<HEADER>
<!THIS IS WHERE YOU WILL ADD THE script I FOUND FOR YOU.. EASIER TO BE INSERTED>

<script>

//Alert message once script- By Javascript Kit
//Credit notice must stay intact for use
//Visit http://javascriptkit.com for this script

//specify message to alert
var alertmessage="REPLACE THIS WITH YOUR WELCOME MESSAGE LIKE MUIYACA'S WEBSITE"

///No editing required beyond here/////

//Alert only once per browser session (0=no, 1=yes)
var once_per_session=0


function get_cookie(Name) {
  var search = Name + "="
  var returnvalue = "";
  if (document·cookie.length > 0) {
    offset = document·cookie.indexOf(search)
    if (offset != -1) { // if cookie exists
      offset += search.length
      // set index of beginning of value
      end = document·cookie.indexOf(";", offset);
      // set index of end of cookie value
      if (end == -1)
        end = document·cookie.length;
      returnvalue=unescape(document·cookie.substring(offset, end))
      }
  }
  return returnvalue;
}

function alertornot(){
if (get_cookie('alerted')==''){
loadalert()
document·cookie="alerted=yes"
}
}

function loadalert(){
alert(alertmessage)
}

if (once_per_session==0)
loadalert()
else
alertornot()

</script>

<TITLE>
THE TILE OF YOUR PAGE AGAIN...
</TITLE>
<BODY>
WRITE A WELCOME MESSAGE FOR THE USERS OF YOUR FORUMS NAVIGATING THEM TO CLICK ON "FORUM" OR "PORTAL" OR "REGISTER" OR LOGIN ..:P
</BODY>

</HTML>

Then preview the page ^^ omg it works doesnt it ?Razz

Have fun, hope to be helping...

Regards,

Christos

P.S Ok sorry this is off-topic.. I am exicted! football training in 1 hr
Christos
Christos
Active Poster

Male Posts : 1238
Reputation : 37
Language : English,French,Greek,Luxembourgish
Location : Luxembourg

http://misery.in-goo.com

Back to top Go down

Javascripts Empty Re: Javascripts

Post by miyaca September 15th 2008, 7:11 pm

so will i just copy past the code above?
miyaca
miyaca
Forumember

Female Posts : 85
Reputation : 0
Language : English
Location : The Mists

http://angelflare.darkbb.com/

Back to top Go down

Back to top

- Similar topics

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