This is a discussion on "One-time, IP based alert?" within the JavaScript Forum section. This forum, and the thread "One-time, IP based alert? are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
One-time, IP based alert?
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
I'm currently working on a personal site, the first that I have managed to construct and code all on my own. One of its distinctive aspects is the transparent div layers it features. The site is best viewed in FireFox, but as many softcore surfers wouldn't think of downloading anything other than the browser their computer came with, I'm doing my best to format it to work in other browsers as well.
So far, there are many flaws with it, I am aware, but I believe only one of them belongs in the Javascript area, and that's the only one I'm addressing here, unless you have any other script solutions. Now, I don't know if this happens for everyone, but when I view my site in IE, a little Windows security popup comes up saying there is blocked active content. Apparently, it's referring to my transparent tables, because when I allow the content, the transparency shows up. First of all, it would be nice if some people went there on IE to see if it has the same effect for everyone. The url is this: http://www.wiseowlcreations.biz Be sure to go to the IE version, because for some reason, Windows is known to be fine with the tansparency until I get to the IE version. Please let me know if Windows alerts you like it did me. If enough people report that it doesn't, this is kind of a moot point. But here I'll get to my original reason for posting. Does anyone know of a javascript alert that will only show itself to a person the first time their IP address has visited the site? I'd like to have an effective way to let my visitors know what they're missing without cluttering my page. Please let me know if you have any suggestions. Much appreciated, Karira |
|
|
|
|||
|
Re: One-time, IP based alert?
I don't know about the IP based alert but when I go to the IE side with I don't get any type of problem although I do suspect that the thing you describe is what happens when you test the page on your computer.
I get that warning when I test certain javascript scripts locally becuase they try to access files located on my pc (which is ok because that is where everything is) but when you upload it and all files and view the page online the warning doesn't come up because the files it trys to access is on the server. and this line gives an error in FF and IE:
|
|
|||
|
Re: One-time, IP based alert?
Well Craig, that's what I tried to do in the first place. But certain things made it impossible. The biggest problem being, the title at the top. FireFox supports a wonderful CSS attribute that allows the title and moon to stay put, while the content scrolls under it, without using any frames! Convenient, but what's more, I could use the same attribute to make the navigation bar stay put. So people don't have to keep scrolling up to go to a different page. I suppose I could do without these things, but the page seems to be more fluid with them. (And speaking of fluid, how do you make div layers fluid?? That's another problem I have, if you minimize the window, the content gets all screwy.)
Of course, if you know any way to achieve the same effects I do with FireFox in a way that will work on MANY browsers, I'll give it a shot. I like the way it looks in FireFox, but as I know a lot of people don't have that, I'd prefer to keep it open while offering different options. By the way, Craig, what are the iframes you're referring to? I thought iframes were only like frames within a content area.. or content withing small frames or something like that. As for the frames I use on IE, it's the only way I could make the content scroll "under", persay. I think you'd find the page would lose a lot if the whole thing scrolled together. It's just not synnergistic.... er... you know what I mean. |
![]() |
| Tags |
| onetime, based, alert |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Alert Box | acrikey | JavaScript Forum | 4 | Mar 25th, 2008 23:23 |
| can't convert table-based to css-based layout | markus | Web Page Design | 21 | Apr 25th, 2007 22:50 |
| Newbie alert..... | pagey | Introduce Yourself | 11 | Sep 2nd, 2006 08:55 |
| Time based image display | christopher | JavaScript Forum | 1 | Apr 19th, 2006 16:55 |
| Adjusting time from server time to local time | Tim356 | Classic ASP | 10 | Jun 21st, 2004 14:57 |