Close window/close browser

General discussions about WebYep
Post Reply
xyclone
Posts: 10
Joined: Wed Jan 03, 2007 12:34 pm
Location: Sweden

Close window/close browser

Post by xyclone » Sat Jun 12, 2010 10:16 pm

Hi!

Is there a way to close the window or browser via webyep

<a href="javascript:self.close()" target="_self">Close window now</a><

is not working.

Any other suggestions is welcome!

/M

johannes
Objective Development
Objective Development
Posts: 815
Joined: Fri Nov 10, 2006 4:39 pm
Contact:

Re: Close window/close browser

Post by johannes » Mon Jun 14, 2010 12:01 pm

I assume you want to input the text/code to close the window into a WebYep Text Element - which type of Element are you using: Long Text or Rich Text?

xyclone
Posts: 10
Joined: Wed Jan 03, 2007 12:34 pm
Location: Sweden

Re: Close window/close browser

Post by xyclone » Tue Jun 15, 2010 2:31 am

The Rich text - or where it's most convenient. Just so I can close the window or quit the browser from a login page. Or maybe is easier to have a logout button/link?

johannes
Objective Development
Objective Development
Posts: 815
Joined: Fri Nov 10, 2006 4:39 pm
Contact:

Re: Close window/close browser

Post by johannes » Tue Jun 15, 2010 7:50 am

To understand the situation better, I would need to know: Why do you need to enter the code for the close button/link via the WebYep Rich Text editor. Or to put it this way: Why does the user (editor) need to enter that code and why can't you (as the web designer) cannot place that code directly into that page?

Post Reply