Hello.
I would like the user, by pressing a button (or a hyperlink), to refresh / reload the content of a specific DIV (it contains an animated GIF) of the webpage.
I know I can refresh the entire webpage by entering:
Event: on click
Action: JavaScript
target: history.go(0);
However, I would prefer --instead of renewing the entire webpage-- that only the content of the specific DIV be renewed.
Thank you.
Reloading only specific DIV, not whole webpage
Forum rules
IMPORTANT NOTE!!
DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.
PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901
MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
IMPORTANT NOTE!!
DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.
PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901
MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
Re: Reloading only specific DIV, not whole webpage
Maybe this will be useful?
https://api.jquery.com/load/
https://api.jquery.com/load/
Re: Reloading only specific DIV, not whole webpage
Thank you, Pablo.
This suggestion seems too difficult for me. I'm afraid I don't understand what I'm reading.
I thought this is a simple function.
If there is some easy way to understand code (some script) it would be appreciated.
I admit that before I send this mesage I tried various solutions within WB. I tried the bookmarks and Events of the layout grid, but no luck.
Aris
This suggestion seems too difficult for me. I'm afraid I don't understand what I'm reading.
I thought this is a simple function.
If there is some easy way to understand code (some script) it would be appreciated.
I admit that before I send this mesage I tried various solutions within WB. I tried the bookmarks and Events of the layout grid, but no luck.
Aris
Re: Reloading only specific DIV, not whole webpage
Sorry, I do no think there is an easier way.
Note that this is not specific to WWB. This is standard HTML functionality.
Alternatively, you can use an inline frame and reload the contents.
Note that this is not specific to WWB. This is standard HTML functionality.
Alternatively, you can use an inline frame and reload the contents.
Re: Reloading only specific DIV, not whole webpage
Pablo,
Don't think I'm criticizing WB. After all, I have been using it for so many years, and it has impressive results in my work.
I just get upset sometimes because I can't understand javascript or jQuery code.
I will also try the solution you suggest.
Thanks.
Don't think I'm criticizing WB. After all, I have been using it for so many years, and it has impressive results in my work.
I just get upset sometimes because I can't understand javascript or jQuery code.
I will also try the solution you suggest.
Thanks.
Re: Reloading only specific DIV, not whole webpage
@Aris,
https://www.wysiwygwebbuilder.com/forum ... 81#p477081
I offered a suggestion on this thread for a gif. Is this what you are looking for?I would like the user, by pressing a button (or a hyperlink), to refresh / reload the content of a specific DIV (it contains an animated GIF)
https://www.wysiwygwebbuilder.com/forum ... 81#p477081