CariDotMy

 Forgot password?
 Register

ADVERTISEMENT

12
Return to list New
Author: pzan213

Mintak tolong pasal Dreamweaver Mx

[Copy link]
Post time 18-12-2008 03:54 PM | Show all posts
ko terinkut sangat cara VB.... webpage n orang tak gemor popup....

lain kali buat redirect............

but aku kasi gak ler scriptnya

  1. <script>

  2. function Close(pageURL) {

  3. window.opener.window.location = pageURL;
  4. window.close();
  5. }

  6. </script>



  7. <a href=""
  8. onclick="Close('page2');">Login</a>
Copy the Code
Reply

Use magic Report


ADVERTISEMENT


 Author| Post time 18-12-2008 05:50 PM | Show all posts
Originally posted by BorderManager at 18-12-2008 03:54 PM
ko terinkut sangat cara VB.... webpage n orang tak gemor popup....

lain kali buat redirect............

but aku kasi gak ler scriptnya



function Close(pageURL) {

window.opener.wi ...


code ni letak kat page pop up tu ek?....letak last line ke?
Reply

Use magic Report

Post time 19-12-2008 12:57 AM | Show all posts
ko buat script php dulu........

kalau login success

<body onload="Close('page3.html')">
Reply

Use magic Report

 Author| Post time 19-12-2008 04:10 PM | Show all posts
eh jap...cane ek nak p new window lepas klik login??....nak back to default size....
Reply

Use magic Report

 Author| Post time 19-12-2008 05:40 PM | Show all posts
aku tgh wat coding utk forgot paswword..tp kuar error nie....pasal function SMTP...apesal yeee

Warning:  mail() [function.mail]: SMTP server response: 501 5.5.4 Invalid Address in C:\xampp\htdocs\xampp\test\send_password_ac.php on line 52
Cannot send password to your e-mail address
Reply

Use magic Report

 Author| Post time 19-12-2008 05:41 PM | Show all posts
lagu 1 cane nak center kan popup?
Reply

Use magic Report

Follow Us
Post time 20-12-2008 12:29 PM | Show all posts
dah bagi kan codingnya... tengok page 1
Reply

Use magic Report

 Author| Post time 20-12-2008 12:45 PM | Show all posts
ok...yg post 24 n 25 tu ape ek carenye
Reply

Use magic Report


ADVERTISEMENT


 Author| Post time 20-12-2008 01:02 PM | Show all posts
cube cek yg akunye nie..tol ke?...td test xkuar lak popunyer...


<script>
function PopupCenter(pageURL, title,w,h) {
var left = (screen.width/2)-(w/2);
var top = (screen.height/2)-(h/2);
var targetWin = window.open (pageURL, title, 'toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no, copyhistory=no, width='+w+', height='+h+', top='+top+', left='+left);
}
</script>

<form name="form1" method="post" action="">
<input type="submit" name="Kaunselor" value="Kaunselor"   >
</form>

[ Last edited by  pzan213 at 20-12-2008 01:07 PM ]
Reply

Use magic Report

Post time 21-12-2008 12:21 PM | Show all posts
ko kena letak kat onclick="PopupCenter(pageURL, title,w,h)"
atau onsubmit="PopupCenter(pageURL, title,w,h)"
Reply

Use magic Report

12
Return to list New
You have to log in before you can reply Login | Register

Points Rules

 

ADVERTISEMENT



 

ADVERTISEMENT


 


ADVERTISEMENT
Follow Us

ADVERTISEMENT


Mobile|Archiver|Mobile*default|About Us|CariDotMy

10-1-2025 05:39 AM GMT+8 , Processed in 0.047195 second(s), 20 queries , Gzip On, Redis On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

Quick Reply To Top Return to the list