jQWidgets Forums
Forum Replies Created
-
Author
-
Hi Dimitar,
Any news about this topic? Could you reproduce the behavior and confirm if it’s a bug?
If yes, there is some forecast about the fix release?
Best regards.
Cristiano
April 7, 2015 at 11:13 am in reply to: Show animated gif on load script Show animated gif on load script #69632Yeah, but I only can use the Gif after HTML parse load the <body> section.
In other hand, the scripts are loaded before this, in the <head> section.
So, when I show the Gif, I already have had the lag.
How can I show something when <head> section is loading?
February 23, 2015 at 4:14 pm in reply to: Setting Height for data rows Setting Height for data rows #67531And the font-size for the rows, can I change it?
If ther is no property to this, alternatively can I change/customize the CSS file? If yes, what class (in what file) can I change to do this?
February 23, 2015 at 4:10 pm in reply to: alter panel content from another page. is it possible? alter panel content from another page. is it possible? #67530So, there is no way to pass the theme variable value used in some page to his child page?
I use the variable “tema” to set the value of “theme” property for each widget I create (I set his var by hand in each page). But I wanna be sure that all variables declared in all sub-pages (child pages) has the same value definied in the main page without have to set manualy his value.
I would like to get automaticaly the value of previous/father page, can I do this?
February 22, 2015 at 11:08 pm in reply to: alter panel content from another page. is it possible? alter panel content from another page. is it possible? #67453Just a new question: on message above, in the “MainPage.html”, I initialized the variable “tema” with the value “orange”.
When I load “MenuBar.html” to the “#MenuBar” <div>, how can I get the this value to pass to set the same (or another) variable in “MenuBar.html”?
February 18, 2015 at 12:28 pm in reply to: alter panel content from another page. is it possible? alter panel content from another page. is it possible? #67312Hi Nadezhda,
1) I think it would be better to initialize MenuBar(main menu) in the main page and the SideMenu(menu from sidebar) in other page(s) because if I understand you correctly you don’t want to change the items of main menu. In this case you can check which item of the main menu is selected and then to load the SideMenu.
You can do it from the same page or from another pages.In fact, this is inverted. I just did this to test how each mode works.
Let me see if I correctly understood (I’m at working now and can’t test the code): once you created the widget on the main page, it can be handled by any child page? It means that new pages will inherit the objects created/placed in the father pages? I know this behavior is default in desktop languages (sorry, but, as I said, I’m not a professional programmer) but didn’t had confidence for the web programming. It’s correct?
2)With “value” field you can get the item’s value. Unfortunately, the “value” field is not
accessible at the moment. You can alse use $(event.target).text(); (see MenuBar.html).I would suggest you to reference the script files only in the main page if you are using main page and another page(s). For example:
Again, I can’t test now, but I’ll do. What I want here is handle the menu choice by a ID or index (that will be a constant), not by the label, which can change (in future site upgrades, for example) or be duplicate (in sub-menus).
Thank you so much.
Cristiano
February 18, 2015 at 12:05 pm in reply to: passing parameters to a page loaded into a widget passing parameters to a page loaded into a widget #67308Thank you. I will do some tests.
February 18, 2015 at 11:20 am in reply to: passing parameters to a page loaded into a widget passing parameters to a page loaded into a widget #67299Hi Peter,
The use isn’t to switch themes. I want to use this parameter, in the page that will be loaded, to dynamically adapt/change his content, according paramater received.
In fact, I even could use this parameter to pass to the child pages the theme named used in the main page, but it isn’t the target now.
Am I able to do this?
-
AuthorPosts