jQWidgets Forums

Forum Replies Created

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • in reply to: Line Break on NavBar Line Break on NavBar #82239

    boxmga
    Participant

    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


    boxmga
    Participant

    Yeah, 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?

    in reply to: Setting Height for data rows Setting Height for data rows #67531

    boxmga
    Participant

    And 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?


    boxmga
    Participant

    So, 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?


    boxmga
    Participant

    Just 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”?


    boxmga
    Participant

    Hi 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


    boxmga
    Participant

    Thank you. I will do some tests.


    boxmga
    Participant

    Hi 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?

Viewing 8 posts - 1 through 8 (of 8 total)