Enjoy an ad free experience by logging in. Not a member yet?
Register .
10-12-2002, 07:57 AM
PM User |
#1
Senior Coder
Join Date: Jun 2002
Location: Between DC and Baltimore In a Cave
Posts: 2,717
Thanks: 1
Thanked 94 Times in 88 Posts
Customized Alert/Confirm
OKay I was asked to write this for a person, I just finshed it at 3 am and getting ready to goto bed.....need sleep...alcohol kicking in!! This is a customized alert, buttons, colors titles etc. Use more then once with different actions. I have not tested it on other browsers except IE, since all I have on this computer right now is IE.
here it is...Please comment
http://www10.brinkster.com/a1ien51/Customize/
and the Search Script is being rewritten since people say my coding is ugly....cough Johgnn cough.....lol
A1ien51
10-12-2002, 01:30 PM
PM User |
#2
Senior Coder
Join Date: Aug 2002
Location: UK
Posts: 2,789
Thanks: 2
Thanked 14 Times in 14 Posts
I bet mine is uglier that yours
Done the Custom Alerts myself, rather quaint me thinks, wasn't sure wether to make them draggable or not.
10-12-2002, 04:38 PM
PM User |
#3
Senior Coder
Join Date: Jun 2002
Location: Between DC and Baltimore In a Cave
Posts: 2,717
Thanks: 1
Thanked 94 Times in 88 Posts
I think making it draggable is sort of a waste of code, I was thinking about it last night, but i choose sleep over it. I can see I am glad since what I typed last night makes no sense. LOL
10-12-2002, 09:27 PM
PM User |
#4
Senior Coder
Join Date: Jun 2002
Location: Between DC and Baltimore In a Cave
Posts: 2,717
Thanks: 1
Thanked 94 Times in 88 Posts
10-12-2002, 10:02 PM
PM User |
#5
Senior Coder
Join Date: Aug 2002
Location: UK
Posts: 2,789
Thanks: 2
Thanked 14 Times in 14 Posts
You are a quick worker,
did you actually get some sleep then
I still find, even in your examples, that sometimes the dragging insn't as smooth as it ought to be
Still as they say, great minds think alike
10-20-2002, 12:34 AM
PM User |
#6
Regular Coder
Join Date: Sep 2002
Location: Louisiana
Posts: 576
Thanks: 0
Thanked 0 Times in 0 Posts
the only prob i see is when you drag the box the scroll bar of the page goes crazy, i am using ie6.
10-23-2002, 05:58 PM
PM User |
#7
Regular Coder
Join Date: Sep 2002
Posts: 157
Thanks: 0
Thanked 0 Times in 0 Posts
scroll bar's at bottom go big and small
yes that happens to me also, the scroll-bars at bottom (not sure about top, only if you move it down wards)
is this because of layers?
__________________
Regards
VKiDV
10-27-2002, 02:39 AM
PM User |
#8
Senior Coder
Join Date: Jun 2002
Location: 41° 8' 52" N -95° 53' 31" W
Posts: 3,660
Thanks: 0
Thanked 0 Times in 0 Posts
Hmm... that's interesting. I can drag it to the right and it doubles the width of the page being viewed.
__________________
Former
ASP Forum Moderator - I'm back!
If you can teach yourself how to learn, you can learn anything. ;)
10-27-2002, 05:33 AM
PM User |
#9
Senior Coder
Join Date: Jun 2002
Location: Between DC and Baltimore In a Cave
Posts: 2,717
Thanks: 1
Thanked 94 Times in 88 Posts
It is because of the layers...all that would have to be done in the code is add a no scroll to the layer when the drag is happening.
10-30-2002, 05:44 AM
PM User |
#10
Regular Coder
Join Date: Jul 2002
Location: Iran
Posts: 695
Thanks: 0
Thanked 0 Times in 0 Posts
Your work is cool, I really like it! But did you ever see the htmlarea in
www.interactivetools.com?? They put an alert for their editor to get an image address, but it looks more natural, also they made a rectangle with curly edges by CSS I think that I don't know how to make! Go and download it, it's a cool script ( if you didn't b4! )
11-02-2002, 08:30 PM
PM User |
#11
Regular Coder
Join Date: Jun 2002
Location: Montreal, Canada
Posts: 644
Thanks: 0
Thanked 0 Times in 0 Posts
Swap the MenuF DIV with this and the bar problems go away. Tested with ie6.
Code:
<span style="position: absolute; visibility: hidden; top: 100; left: 150; z-index: 10;" id="MenuF">
<form name="AlertProp" onsubmit="return false">
<table border="1" cellpadding="0" cellspacing="0">
<tr>
<td>
<table border="0" cellpadding="0" cellspacing="0" class="TheTable">
<tr>
<td class="AlertBarTop"><span style="position: absolute; top: 4; left: 7;z-index:13;" onmouseover="MakeTrue()" onmouseout="MakeFalse()"><img border="0" src="blank.gif" width="275" height="21"></span><span class="AlertBarTopText" id="ConfirmTitle">A1ien51 Alert</span></td>
<td class="AlertBarTop" align="right">
<p align="right"><input type="button" name="CloseIt" value="X" onclick="ClosedX()" class="CloseButton"></p>
</td>
</tr>
<tr>
<td colspan="2" valign="middle" align="center"><span class="AlertText" id="ConfirmMessage">Do You want to Continue On?</span></td>
</tr>
<tr>
<td colspan="2" align="center" valign="middle" height="50">
<input type="button" name="B1" value="Continue" onclick="PerformIt()" class="TheButtons">
<input type="button" name="B2" value="Cancel" onclick="CanIt()" class="TheButtons">
</td>
</tr>
</table>
</td>
</tr>
</table>
</form>
</span>
Also, when you click and immediately move the cursor quickly, the layer is dragged with an offset from the cursor.
11-03-2002, 01:39 AM
PM User |
#12
Senior Coder
Join Date: Jun 2002
Location: ColoRockyz
Posts: 1,642
Thanks: 1
Thanked 0 Times in 0 Posts
Nice job...but dragging and dropping alerts is really unnecessary so I think it's a huge bloat.
How about auto page center?
__________________
Zoobie or not Zoobie...That is the problem.
<body onUnload="flush ( ! ) ">
11-03-2002, 09:18 PM
PM User |
#13
Regular Coder
Join Date: Jul 2002
Location: Iran
Posts: 695
Thanks: 0
Thanked 0 Times in 0 Posts
I'm lazy enough to wait for the updated script!
11-03-2002, 11:05 PM
PM User |
#14
Senior Coder
Join Date: Jun 2002
Location: Between DC and Baltimore In a Cave
Posts: 2,717
Thanks: 1
Thanked 94 Times in 88 Posts
Right now looking at computer code would be better then studying for all of my tests...........trying to graduate so i can get out into the real world
11-04-2002, 09:26 PM
PM User |
#15
Regular Coder
Join Date: Jul 2002
Location: Iran
Posts: 695
Thanks: 0
Thanked 0 Times in 0 Posts
I DOOOOOOOOOOOOOOOOOOO agree!
Jump To Top of Thread
Thread Tools
Rate This Thread
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
All times are GMT +1. The time now is 06:59 AM .
Advertisement
Log in to turn off these ads.