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.

Javascript code for skin change

4 posters

Go down

Javascript code for skin change Empty Javascript code for skin change

Post by Vuk98 December 13th 2009, 15:22

I have PunBB version of forum and I nedd to add jasacript code in templates with two css files and users can chose skin...I now it is possible...
avatar
Vuk98
Forumember

Posts : 27
Reputation : 0
Language : Serbian, English, HTML,C++, a bit of CSS and German

Back to top Go down

Javascript code for skin change Empty Re: Javascript code for skin change

Post by Dark Takua December 13th 2009, 19:54

No this is not possible.
Dark Takua
Dark Takua
Active Poster

Male Posts : 1012
Reputation : 23
Language : English

http://gzpower.forumotions.net

Back to top Go down

Javascript code for skin change Empty Re: Javascript code for skin change

Post by Vuk98 December 14th 2009, 12:55

yes it was on this forum: http://www.ludisnovi.com/ and admin of that forum says how to do on another forum but I`am ban...mabye it is not javascriptbut I think it is...
avatar
Vuk98
Forumember

Posts : 27
Reputation : 0
Language : Serbian, English, HTML,C++, a bit of CSS and German

Back to top Go down

Javascript code for skin change Empty Re: Javascript code for skin change

Post by *Mare-SBK™* December 14th 2009, 22:45

Enter the link and right click and view the page sourse.

Go to admin panel and the templates and there in the above so overall_header_new / head paste this first part of the code (which ends with / scrpit)

provided of course that we need to replace a part that says ImePrvogSkina and imedrugog with corresponding names and linkprvogskina and linkdrugog skin with appropriate links.

Now what are these links. This is actually the css ... Signs of the skin which make the whole must be made through CSS. The part where the logo is added to the background and forget the rest. Only CSS.

And when you make the appropriate copy the entire skin css in notepad save as eg stil1.css (name not important important to end with. CSS)

Upload it through a site that supports CSS (recommend webs.com) and paste the first link (the same with the other)

Then under
Code:
<div id="pun-head">
                  <div id="pun-navlinks">
                    <ul class="clearfix">
                        <li>{GENERATED_NAV_BAR}</li>
                    </ul>
                  </div>
              </div>

paste the other code that begins with the center and ends with / center (of course instead of what Name First skin to put the appropriate name you specified above)


And that's it.





Just a few things. When you do this you can not edit the skin over the CSS in admin panel, but you'll need to change everything in notepad and upload that again and replace the link.
*Mare-SBK™*
*Mare-SBK™*
Forumember

Male Posts : 181
Reputation : 16
Language : Serbian, English, German

http://design4u.forumsr.com/

Back to top Go down

Javascript code for skin change Empty Re: Javascript code for skin change

Post by Vuk98 December 15th 2009, 21:33

Yeah, look: http://programi.serbianforum.info/index.htm you have skin changer under the navigation...
avatar
Vuk98
Forumember

Posts : 27
Reputation : 0
Language : Serbian, English, HTML,C++, a bit of CSS and German

Back to top Go down

Javascript code for skin change Empty Re: Javascript code for skin change

Post by Rogo December 15th 2009, 22:48

I didn't understand all that but I wish I could get that on mine because it doesn't appear to have flaws. I have PHPBB3 though. If someone can help, please PM me.
avatar
Rogo
Forumember

Posts : 262
Reputation : 1
Language : English

http://thebalm.alldiscussion.net/

Back to top Go down

Javascript code for skin change Empty Re: Javascript code for skin change

Post by *Mare-SBK™* December 16th 2009, 13:27

This is for PunBB
*Mare-SBK™*
*Mare-SBK™*
Forumember

Male Posts : 181
Reputation : 16
Language : Serbian, English, German

http://design4u.forumsr.com/

Back to top Go down

Javascript code for skin change Empty Re: Javascript code for skin change

Post by Vuk98 December 16th 2009, 21:40

Mare, you dot`n write link...This is a link on ENGISH:
Code:
http://programi.serbianforum.info/skin-changer-h8.htm
avatar
Vuk98
Forumember

Posts : 27
Reputation : 0
Language : Serbian, English, HTML,C++, a bit of CSS and German

Back to top Go down

Back to top

- Similar topics

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