on 03-29-2007 3:42 PM
Hi,
I'd like to make some popup-window when the user pushes a button on the webpage. Anyone knows how to do this in the WAD?
thanks,
Tom
If you know what you want to do when you click on button it will be easy to send you a sample code...
Here is the sample javascript code which will open an bookmark in new window
<script>
function myBookmark()
{
var url = SAP_BW_URL_Get();
url = url + "&CMD=BOOKMARK";
window.open(url, "Bookmark", "width=800, height=600, menubar=yes, toolbar=no, scrollbars=yes, resizable=yes, location=yes");
}
</script>
<a href="javascript:myBookmark();"> BookMark </a>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
what I want to do is to show an information message when the user selects too many items from a checkbox group. It seems that there doesn't exist some standard messaging system so I'd like to create a popup myself. It should contain something like:
You've selected too much info...
ok-button
In Java it would have been easy, there you can even code your group that way that the user cannot select more than a certain amount of items from that checkbox...
already thanks for the replies!
Tom
Tom,
Opening a new window is easy ... if you want to display just a message , then an alert box should be sufficient ...
have something like this
<script language="javascript">
function alert()
{
alert("Too Many Values Selected");
}
</script>
or if you want to open a new window
<script language="javascript">
<!--
function openit() {
newWindow = window.open('http://', 'myWindow', 'width=628,height=333');
}
// -->
</script>
You can call these functions through javascript / HTML etc...
Arun
Hope it helps...
What do you want to do with that popup? Depending on what you're trying you might need to use some javascript.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
77 | |
10 | |
7 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.