The group gets a fair amount of usage, but the spam is indeed brutal :(

So you want to use the greybox instead of the
new window, right?  Pretty easy.

function updemailinfo() {
var rel_action = document.getElementById('Release_Action').value;
if (rel_action == 'RV') {
top.GB_showFullScreen("Email_Information", "/Magic94Scripts/mgrqispi94.dll?
APPNAME=Web_Dev_Procurement&PRGNAME=update_email_info&ARGUMENTS=-N<!
$MG_ORDER_NO>");

} else {
if (rel_action == 'CV') {
top.GB_showFullScreen("Email_Information", "/Magic94Scripts/mgrqispi94.dll?
APPNAME=Web_Dev_Procurement&PRGNAME=update_email_info&ARGUMENTS=-N<!
$MG_ORDER_NO>");
}
}
}

Hope that works for you!

--
Tyler Style
http://malthusian-solutions.com
http://nirdvana.com


On 4/22/09, Tom <[email protected]> wrote:
>
>
> Tyler,
>
> Thanks for the response. I posted this and then started looking at the
> messages and wondered if any one was actually useing this group
> anymore. The amount of spam on here is incredible.
>
> I forgot to mention that I am a beginner with JavaScript also,
> therefore your reference to the JavaScript API is not much help to me.
> I looked over the advanced usage page but it doesn't make much sense
> to me either. I am also trying to figure out how to do a href from
> within a JavaScript function. If I am approaching this all wrong them
> give me an idea of how I should do it.
>
> My current function is:
> function updemailinfo() {
>   var rel_action = document.getElementById('Release_Action').value;
>   if (rel_action == 'RV') {
>     window.open("/Magic94Scripts/mgrqispi94.dll?
> APPNAME=Web_Dev_Procurement&PRGNAME=update_email_info&ARGUMENTS=-N<!
> $MG_ORDER_NO>", "Email_Information",
>
> 'Scrollbars=yes,menubar=no,toolbar=no,TOP=50,LEFT=50,HEIGHT=360,WIDTH=924');
>     } else {
>     if (rel_action == 'CV') {
>       window.open("/Magic94Scripts/mgrqispi94.dll?
> APPNAME=Web_Dev_Procurement&PRGNAME=update_email_info&ARGUMENTS=-N<!
> $MG_ORDER_NO>", "Email_Information",
>
> 'Scrollbars=yes,menubar=no,toolbar=no,TOP=50,LEFT=50,HEIGHT=360,WIDTH=924');
>        }
>     }
> }
>
> As you can tell this is invoking a different application to generate
> the new window. It is almost as simple as just calling a different
> page.
>
> If you can give me pointers on this it would be appreciated.
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"GreyBox" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/greybox?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to