top



What is the code mate for that?

Where we left off in MSN.

I couldn't get it to works with cookies, let's see if UD can make a javascript for you (:

I'm not 100 % sure of what you mean? Smile

I know lol ;D
He wants to make a pop up message with a banner only time with a button to close it and if someone close it wont show up again until a new pop up message added, its some thing with cookies time (:

I want a X out button just on the top right of the announcments. So, if theirs a big image their, the users can X it out. (if its possible)

Aha.. I'll try take a look at it. (:

Thanks.

Is this solved or what.

Nope, still got no code.

Do you mean

Code:
<script type="text/javascript">
var popup=("text here");
alert(popup);
</script>

Stormy, your posting took a lift.
He wants a cookie!

Erm, that might be it? How do I use that?

Got a Phpbb3 Wink

I daresay that alert window of McStormify's is not cookied. It'll pop up each time the page is loaded!
Hmm.. it seems like you've learned a lot by looking at my codes, stormy! Am I mistaken?

I want it where if a user X's out of it, it wont come back up, until they revisit.

Currently, this is the nearest I can get:

Code:
<style>
#sax-box {
  position: fixed;
  align: center;
  margin: 0px auto;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  background: #CCC;
  box-shadow: 0px 0px 5px #000;
  border-radius: 10px;
  z-index: 1000;
  padding: 10px;
  }

#sax-box > #sax-cross {
  float: right;
  clear: left;
  background: #000;
  color: #FFF;
  font-weight: bold;
  padding: 5px;
  text-align: center;
  }
</style>
<script src="http://code.jquery.com/jquery-1.5.1.min.js"></script>
<script>
jQuery(function() {
  jQuery('#sax-box > #sax-cross').click(function() {
    jQuery('#sax-box').fadeTo('slow', 0.0).slideUp('slow');
  });
});
</script>
<div id="sax-box"><span id="sax-cross">X</span>Your content, in the top right corner there's an cross.</div>

Sorry to be a n***, but where do I put that code?

In announcements? (code isn't my cup of tea)

Put it in the homepage message.

It doesn't work mate.

If I use that code it directs me to something, and says something about content.

May I have an screenie and your forum link?

It just directs to another part.....and I cant see anything

www.gfxfreeze.com is the website, but I removed the code until its fixed.

Try this..

Code:
<style>
#sax-box {
  position: fixed;
  align: center;
  margin: 0px auto;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  background: #CCC;
  box-shadow: 0px 0px 5px #000;
  border-radius: 10px;
  z-index: 1000;
  padding: 10px;
  }

#sax-box > #sax-cross {
  float: right;
  clear: left;
  background: #000;
  color: #FFF;
  font-weight: bold;
  padding: 5px;
  text-align: center;
  }
</style>
<script src="http://code.jquery.com/jquery-1.5.1.min.js"></script>
<script>
jQuery(function() {
  jQuery('#sax-box > #sax-cross').click(function() {
    jQuery('#sax-box').fadeOut('slow');
    return false;
  });
});
</script>
<div id="sax-box"><span id="sax-cross">X</span>Your content, in the top right corner there's an cross.</div>

I put that code in, and when I do, it redirects me to a grey page saying "Your content, in the top right corner there's an cross."

Also mate, can you unlock the sidebar thread please? I still have a few questions Wink

It doesn't redirect you? o.O
Will unlock soon.

Thanks for unlocking.

Also it does redirect. I took the code out when it doesn't work as my members wont be able to use the forum with the code in it.

When I put code, it wont let you on my website as it redirects.

It does not redirect..
It simply creates an block, click the black cross to remove it.

Browser?

Go to page : 1, 2, 3  Next