0
Answered

javascript function to scroll the windows up, run only in design mode

Mazen Jamal 1 month ago • updated by carlosd (Customer Community) 4 weeks ago 9

I ame customising the Pavillion Theme, I ame trying to run a java script function by inserting the Html In the the above primary navigation widgets. The script work only in design mode . My Text of Widget is right now

==============================================

$(window).bind("load", function() {

{

alert("OK1");

} });

INFORMATION TECHNOLOGY AT ITS BEST

LEARN MORE

==============================================

My Ulitmate objective is to scroll the age Up after Loading

Answer

+1
Answer
Answered

Thank you for providing those details. I was able to reach out to a member of the BoldGrid development team here and they advised to modify your code to replace the '$' character with the 'jQuery' function. For example:

jQuery(window).bind("load", function() {
alert("OK1");
});


We were able to test this and find that it does work in both environments.

I hope this helps!

Sincerely,

Carlos D.

GOOD, I'M SATISFIED

Thank you a lot, Quick and effective reply, and a lot of kindness

Satisfaction mark by Mazen Jamal 4 weeks ago

You're welcome Mazen, thanks for the feedback as well! Let us know if you need assistance with anything else, we are always happy to help!

Dear Sir 
Thank you for your reply

I thinked it is a nomal begavior of bold grid
i add code i Customized Javascript Windows
the code work during design time but not in run time on oublised site

I'm sorry to see that. Can you please provide more details as to what you are doing and what error you are seeing? This will help us to assist you better.

Opened

Any customization that is beyond the normal function of BoldGrid would be considered custom code.  You would need to speak with an experienced web developer or designer for additional assistance.  However, you can also submit a ticket request and BoldGrid personnel will review it to see if they can provide you a solution.  You can submit a ticket via email or through the form in BoldGrid Central.

If you have any further questions or comments, please let us know.

Kindest regards,

Arnel C.

It is Some how the normal fuction of boldgrid
the code is working in design time

but not on the plushed site

I'm sorry to see that. Can you please provide the steps to take to replicate the issue you are seeing? Also, can you please provide any errors that may be displayed? These details will help us to diagnose the issue and possibly provide a resolution.


I ame trying to run a java script function by inserting the Html In the the above primary navigation widgets. The script work only in design mode . the Text of Widget is right now


=====================================

$(window).bind("load", function() {

{

alert("OK");

} });

INFORMATION TECHNOLOGY AT ITS BEST

LEARN MORE


+1
Answer
Answered

Thank you for providing those details. I was able to reach out to a member of the BoldGrid development team here and they advised to modify your code to replace the '$' character with the 'jQuery' function. For example:

jQuery(window).bind("load", function() {
alert("OK1");
});


We were able to test this and find that it does work in both environments.

I hope this helps!

Sincerely,

Carlos D.