Body onload popup problem

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
4/10/2012 10:25:37 AM
Gravatar
Total Posts 4

Body onload popup problem

Hey,

We're using Mojoportal and we would like to have onload popup for our default page. We tried to use this script;

<script type="text/javascript">
$(document).ready(function() { alert('Trytry'); });
</script>

(found this one in forums)

but its not working.

We're using Filezilla FTP program to update App_MasterPages/layout.master and we put code into <head></head> tags but its not working.

Between i know current code is not for onload popup but even this one not working.. :/

4/10/2012 11:29:28 AM
Gravatar
Total Posts 1203
Proud member of the mojoPortal team

Help support mojoPortal!
Add-on modules

Re: Body onload popup problem

You'd need to edit the layout.master file for the skin you're using. It's located in /Data/Sites/[site number]/skins/[skin name].

Jamie

4/10/2012 12:12:30 PM
Gravatar
Total Posts 18439

Re: Body onload popup problem

Problem is putting it in the head puts it before the main jquery scripts. Put it at the bottom of layout.master instead.

But also as Jamie mentioned you are not editing the correct layout.master file, edit the one in your skin folder as he mentioned.

Hope that helps,

Joe

4/16/2012 7:41:04 AM
Gravatar
Total Posts 4

Re: Body onload popup problem

Thanks alot guys, solved problem with your answers :)

You must sign in to post in the forums. This thread is closed to new posts.