Graphic Design Forum | GraphicsCode.net
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Embedding Code into CSS

5 posters

Go down

Solved Embedding Code into CSS

Post by Admin 2009-09-01, 14:00

Hey all.

Just came across a problem. Is it possible to put a script into the CSS? It seems possible, but I've been failing, so if the forum seems a bit dodgy, it's what I am trying to do.

Thanks.


Last edited by dotDavid on 2009-11-23, 13:02; edited 1 time in total

Admin
Webmaster
Webmaster

Male Posts : 1156
Join date : 2009-07-12

Back to top Go down

Solved Re: Embedding Code into CSS

Post by MrMega 2009-09-01, 15:19

Script into CSS? You mean an HTML script or JavaScript?
MrMega
MrMega
New Member
New Member

Posts : 21
Join date : 2009-08-27

Back to top Go down

Solved Re: Embedding Code into CSS

Post by Admin 2009-09-01, 15:30

Javascript.

Admin
Webmaster
Webmaster

Male Posts : 1156
Join date : 2009-07-12

Back to top Go down

Solved Re: Embedding Code into CSS

Post by kewlkreator 2009-09-01, 23:48

No I haven't seen this. However, if you are referring to embedding JS into Forumotion forums, this can be done.

Go to Administration Panel >> Display >> Homepage >> Generalities >> Additional Tags >> Click New and add the properties of your meta tag. Thus embedding your script.
kewlkreator
kewlkreator
Global Moderator
Global Moderator

Male Posts : 927
Join date : 2009-07-13

Back to top Go down

Solved Re: Embedding Code into CSS

Post by Admin 2009-09-02, 12:48

I'm not sure if thats right.

Well, what I am trying to do is make a floating sidebar in that thin blue space, and then when you click a button, it slides out, giving you options.

Admin
Webmaster
Webmaster

Male Posts : 1156
Join date : 2009-07-12

Back to top Go down

Solved Re: Embedding Code into CSS

Post by ankillien 2009-09-07, 13:26

well, do you have the code of slidebar?
You can put it in welcome message.
ankillien
ankillien
Member
Member

Male Posts : 28
Join date : 2009-09-04

Back to top Go down

Solved Re: Embedding Code into CSS

Post by Admin 2009-09-07, 13:28

Yeah, I can, although, it would be nice if it was possible to have it on each page, so users don't have to come back to the home page, and back.

But, I don't feel like changing to phpbb2 or punbb, and so that may be the only option, unless there is another way.

Admin
Webmaster
Webmaster

Male Posts : 1156
Join date : 2009-07-12

Back to top Go down

Solved Re: Embedding Code into CSS

Post by kewlkreator 2009-09-07, 18:28

What's wrong with embedding a script with meta tags?
kewlkreator
kewlkreator
Global Moderator
Global Moderator

Male Posts : 927
Join date : 2009-07-13

Back to top Go down

Solved Re: Embedding Code into CSS

Post by ankillien 2009-09-08, 08:18

How can meta tags contain script?
Try putting script in the forum description.
ankillien
ankillien
Member
Member

Male Posts : 28
Join date : 2009-09-04

Back to top Go down

Solved Re: Embedding Code into CSS

Post by kewlkreator 2009-09-20, 16:46

anikillien has the idea:
Bang! Found it: you have to go to: Admin Panel >> General >> Configuration and add the source of your script (hosted elsewhere) to the Site Description:
Code:
<script src="url.js">//Any code here</script>

I posted that in your topic about sidebars Embedding Code into CSS 2555
kewlkreator
kewlkreator
Global Moderator
Global Moderator

Male Posts : 927
Join date : 2009-07-13

Back to top Go down

Solved Re: Embedding Code into CSS

Post by kewlkreator 2009-09-20, 16:50

However: Embedding Code into CSS Js

I think that proves my point Embedding Code into CSS 2555
kewlkreator
kewlkreator
Global Moderator
Global Moderator

Male Posts : 927
Join date : 2009-07-13

Back to top Go down

Solved Re: Embedding Code into CSS

Post by Admin 2009-10-29, 12:00

No, thats just a meta tag for lets say description.

Admin
Webmaster
Webmaster

Male Posts : 1156
Join date : 2009-07-12

Back to top Go down

Solved Re: Embedding Code into CSS

Post by Rexo 2009-11-22, 18:53

how about put it in announcements?? and make it show on all pages....

just a thought....not sure it will work or not...

acp > general >messages & email > announcements

hope that helps
regards,
rex
Rexo
Rexo
Global Moderator
Global Moderator

Male Posts : 19
Join date : 2009-11-22

Back to top Go down

Solved Re: Embedding Code into CSS

Post by Admin 2009-11-23, 13:02

Thanks mate, its solved.

Admin
Webmaster
Webmaster

Male Posts : 1156
Join date : 2009-07-12

Back to top Go down

Solved Re: Embedding Code into CSS

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

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