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.

When you open a New Topic this should pop up

3 posters

Go down

When you open a New Topic this should pop up Empty When you open a New Topic this should pop up

Post by Maki1 July 24th 2010, 6:07 pm

I would like to know how to make this. When you open a New Topic something like this should pop up on your Message box, I would like to make this on some of my forums. where Promotion & Services Categorie is.

For Example:

Please use the code below when posting.

Forum Name: MyForum
Forum Link: http://
sry for the bold.

Thanks,
- Monk
Maki1
Maki1
Hyperactive

Male Posts : 2529
Reputation : 442
Language : English »» CSS Stylesheet
Location : The » Support » forum » Section! • No support by PM If you need custom theme please contact me!

Back to top Go down

When you open a New Topic this should pop up Empty Re: When you open a New Topic this should pop up

Post by Maki1 July 26th 2010, 2:39 pm

Really need to know how to do this.
Maki1
Maki1
Hyperactive

Male Posts : 2529
Reputation : 442
Language : English »» CSS Stylesheet
Location : The » Support » forum » Section! • No support by PM If you need custom theme please contact me!

Back to top Go down

When you open a New Topic this should pop up Empty Re: When you open a New Topic this should pop up

Post by Guest July 26th 2010, 4:00 pm

this can be done with java script, but i dont know if it work in topics :/ '
Code:

<script language="JavaScript">

function openindex()
      {
OpenWindow=window.open("", "newwin", "height=250, width=250,toolbar=no,scrollbars="+scroll+",menubar=no");
OpenWindow.document.write("<TITLE>Title Goes Here</TITLE>")
OpenWindow.document.write("<BODY BGCOLOR=white>")
OpenWindow.document.write("<h1>Welcome</h1>")
OpenWindow.document.write("This text will appear in the window!")
OpenWindow.document.write("</BODY>")
OpenWindow.document.write("</HTML>")

OpenWindow.document.close()
self.name="main"
    }
</script>
avatar
Guest
Guest


Back to top Go down

When you open a New Topic this should pop up Empty Re: When you open a New Topic this should pop up

Post by Maki1 July 26th 2010, 4:44 pm

So, if I add this to CSS Stylesheet what gonna happen.
Maki1
Maki1
Hyperactive

Male Posts : 2529
Reputation : 442
Language : English »» CSS Stylesheet
Location : The » Support » forum » Section! • No support by PM If you need custom theme please contact me!

Back to top Go down

When you open a New Topic this should pop up Empty Re: When you open a New Topic this should pop up

Post by Guest July 26th 2010, 4:49 pm

nothing, because this is JavaScript, try adding it in the topic Smile
avatar
Guest
Guest


Back to top Go down

When you open a New Topic this should pop up Empty Re: When you open a New Topic this should pop up

Post by Maki1 July 26th 2010, 5:04 pm

No, I want to add to CSS or on the forums so when you open a New topic this Popup:

Forum Name: MyForum
Forum Link: http://

If you know what I mean?
Maki1
Maki1
Hyperactive

Male Posts : 2529
Reputation : 442
Language : English »» CSS Stylesheet
Location : The » Support » forum » Section! • No support by PM If you need custom theme please contact me!

Back to top Go down

When you open a New Topic this should pop up Empty Re: When you open a New Topic this should pop up

Post by Guest July 26th 2010, 5:09 pm

I know what you mean, but sorry i cant help u with this :/
avatar
Guest
Guest


Back to top Go down

When you open a New Topic this should pop up Empty Re: When you open a New Topic this should pop up

Post by Maki1 July 28th 2010, 3:25 pm

Anyone...
Maki1
Maki1
Hyperactive

Male Posts : 2529
Reputation : 442
Language : English »» CSS Stylesheet
Location : The » Support » forum » Section! • No support by PM If you need custom theme please contact me!

Back to top Go down

When you open a New Topic this should pop up Empty Re: When you open a New Topic this should pop up

Post by mollu July 28th 2010, 5:01 pm

My quick and dirty idea for this:

Code:
<script type="text/javascript">

if (document.location.href.search("newtopic"))
{
window.open("", "newwin", "height=250, width=250,toolbar=no,scrollbars=no,menubar=no" )
.document.write("<TITLE>Title Goes Here</TITLE><BODY><b>Forum Name:</b> MyForum Forum<br><b>Link:</b> <a href="http://www.w3schools.com"> W3Schools</a></BODY></HTML>");

// or
// alert("title: forum\nlink:http://");
}
</script>
avatar
mollu
New Member

Posts : 5
Reputation : 0
Language : En/Ger/Et

Back to top Go down

When you open a New Topic this should pop up Empty Re: When you open a New Topic this should pop up

Post by Maki1 July 28th 2010, 7:43 pm

And where can I add this Exclamation
Maki1
Maki1
Hyperactive

Male Posts : 2529
Reputation : 442
Language : English »» CSS Stylesheet
Location : The » Support » forum » Section! • No support by PM If you need custom theme please contact me!

Back to top Go down

When you open a New Topic this should pop up Empty Re: When you open a New Topic this should pop up

Post by mollu July 28th 2010, 8:11 pm

I tested this as a personal widget...

NB! replace the double quotes with single ones (<a href="http://www.w3schools.com"> should be <a href='http://www.w3schools.com'>)
avatar
mollu
New Member

Posts : 5
Reputation : 0
Language : En/Ger/Et

Back to top Go down

When you open a New Topic this should pop up Empty Re: When you open a New Topic this should pop up

Post by queran July 29th 2010, 1:38 am

so does this work?
avatar
queran
New Member

Posts : 2
Reputation : 0
Language : English

Back to top Go down

When you open a New Topic this should pop up Empty Re: When you open a New Topic this should pop up

Post by Maki1 July 30th 2010, 1:03 am

mollu wrote:I tested this as a personal widget...

NB! replace the double quotes with single ones (<a href="http://www.w3schools.com"> should be <a href='http://www.w3schools.com'>)

I have no idea what you mean with this. and I think you don't understand my Question
Maki1
Maki1
Hyperactive

Male Posts : 2529
Reputation : 442
Language : English »» CSS Stylesheet
Location : The » Support » forum » Section! • No support by PM If you need custom theme please contact me!

Back to top Go down

Back to top

- Similar topics

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