Alpha Software Mobile Development Tools:   Alpha Anywhere    |   Alpha TransForm subscribe to our YouTube Channel  Follow Us on LinkedIn  Follow Us on Twitter  Follow Us on Facebook

Announcement

Collapse

The Alpha Software Forum Participation Guidelines

The Alpha Software Forum is a free forum created for Alpha Software Developer Community to ask for help, exchange ideas, and share solutions. Alpha Software strives to create an environment where all members of the community can feel safe to participate. In order to ensure the Alpha Software Forum is a place where all feel welcome, forum participants are expected to behave as follows:
  • Be professional in your conduct
  • Be kind to others
  • Be constructive when giving feedback
  • Be open to new ideas and suggestions
  • Stay on topic


Be sure all comments and threads you post are respectful. Posts that contain any of the following content will be considered a violation of your agreement as a member of the Alpha Software Forum Community and will be moderated:
  • Spam.
  • Vulgar language.
  • Quotes from private conversations without permission, including pricing and other sales related discussions.
  • Personal attacks, insults, or subtle put-downs.
  • Harassment, bullying, threatening, mocking, shaming, or deriding anyone.
  • Sexist, racist, homophobic, transphobic, ableist, or otherwise discriminatory jokes and language.
  • Sexually explicit or violent material, links, or language.
  • Pirated, hacked, or copyright-infringing material.
  • Encouraging of others to engage in the above behaviors.


If a thread or post is found to contain any of the content outlined above, a moderator may choose to take one of the following actions:
  • Remove the Post or Thread - the content is removed from the forum.
  • Place the User in Moderation - all posts and new threads must be approved by a moderator before they are posted.
  • Temporarily Ban the User - user is banned from forum for a period of time.
  • Permanently Ban the User - user is permanently banned from the forum.


Moderators may also rename posts and threads if they are too generic or do not property reflect the content.

Moderators may move threads if they have been posted in the incorrect forum.

Threads/Posts questioning specific moderator decisions or actions (such as "why was a user banned?") are not allowed and will be removed.

The owners of Alpha Software Corporation (Forum Owner) reserve the right to remove, edit, move, or close any thread for any reason; or ban any forum member without notice, reason, or explanation.

Community members are encouraged to click the "Report Post" icon in the lower left of a given post if they feel the post is in violation of the rules. This will alert the Moderators to take a look.

Alpha Software Corporation may amend the guidelines from time to time and may also vary the procedures it sets out where appropriate in a particular case. Your agreement to comply with the guidelines will be deemed agreement to any changes to it.



Bonus TIPS for Successful Posting

Try a Search First
It is highly recommended that a Search be done on your topic before posting, as many questions have been answered in prior posts. As with any search engine, the shorter the search term, the more "hits" will be returned, but the more specific the search term is, the greater the relevance of those "hits". Searching for "table" might well return every message on the board while "tablesum" would greatly restrict the number of messages returned.

When you do post
First, make sure you are posting your question in the correct forum. For example, if you post an issue regarding Desktop applications on the Mobile & Browser Applications board , not only will your question not be seen by the appropriate audience, it may also be removed or relocated.

The more detail you provide about your problem or question, the more likely someone is to understand your request and be able to help. A sample database with a minimum of records (and its support files, zipped together) will make it much easier to diagnose issues with your application. Screen shots of error messages are especially helpful.

When explaining how to reproduce your problem, please be as detailed as possible. Describe every step, click-by-click and keypress-by-keypress. Otherwise when others try to duplicate your problem, they may do something slightly different and end up with different results.

A note about attachments
You may only attach one file to each message. Attachment file size is limited to 2MB. If you need to include several files, you may do so by zipping them into a single archive.

If you forgot to attach your files to your post, please do NOT create a new thread. Instead, reply to your original message and attach the file there.

When attaching screen shots, it is best to attach an image file (.BMP, .JPG, .GIF, .PNG, etc.) or a zip file of several images, as opposed to a Word document containing the screen shots. Because Word documents are prone to viruses, many message board users will not open your Word file, therefore limiting their ability to help you.

Similarly, if you are uploading a zipped archive, you should simply create a .ZIP file and not a self-extracting .EXE as many users will not run your EXE file.
See more
See less

Tabbed UI home page background

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Tabbed UI home page background

    I wanted to use an image to style the home page background in a tabbed UI component.

    There is an HTML builder in the properties, but it is WYSIWYG
    How do I use it to set the background?

    This is also true for the header.I wanted to set the background there as well.

    I also want to continue this theme on other panels which contain grids. Is there a way to set the background for each panel while maintaining an Alpha style for the grid itself?

    The button panel brings up a style editor which allows you to set the background easily.

    What I am trying to accomplish is using Alpha's base styles and setting them in some complimentary backgrounds.

    Tks
    Bob
    Last edited by bob9145; 03-03-2011, 07:42 PM.

    #2
    Re: Tabbed UI home page background

    Don't use the html editor for the home page, change the Home Page HTML Source to URL, something like tabbed_home.a5w. And then create a page named tabbed_home.a5w with whatever background, text, images, etc.
    Steve Wood
    See my profile on IADN

    Comment


      #3
      Re: Tabbed UI home page background

      I see that makes sense. What if I wanted to change the background on all the tabbed panes that have grids on them to create a theme for the the whole tabbed UI?


      Would I do this by editing one of the alpha styles or does this need to be done within the component?

      I checked out the html in firebug and it's easy to see where the background image is called for the button panel. It's not so clear however where you would do this on an individual pane or for all panes.

      Is this area surrounding the grid in a tabbed UI part of the grid's table or is it the a5w page or something else?

      I would like to work within my grid component with a beach in the background.

      background-image: url(beach.jpg);
      Tks
      Bob
      Last edited by bob9145; 03-03-2011, 08:25 PM.

      Comment


        #4
        Re: Tabbed UI home page background

        If I recall there is an option for all grids to assume the same style as the tabbedui. But if you add A5W pages I am sure they have whatever style you give to those pages via linked css. But if you do use css, and each page is linked to the same css, then they should all look the same. At one point I had a home page with an image via css using background-image:url(), and the grid would superimpose on top of that image. I made it stretch full height/width too by giving the image height=100% width=100%.
        Steve Wood
        See my profile on IADN

        Comment


          #5
          Re: Tabbed UI home page background

          Thanks for your help Steve.

          If you open a5w pages with grids on them don't you loose some of the filter and easy to use link properties that are in the tabbed UI?

          There must be a way to do this within the component. There also must be way to differentiate between panes as well, so each pane could have a different background.

          Setting the grid on top of the image and having the image cover the whole pane is exactly what I am trying to do. This will bring great eye appeal to the tabbed UI!



          I am thinking that some one else must have already thought of this and accomplished it. If not it would be of great design value to all.

          What is a pane? Is it a Div or a part of the table(grid)? Could it be done in the over ride settings property for the pane?

          Tks
          Bob
          Last edited by bob9145; 03-03-2011, 10:06 PM.

          Comment


            #6
            Re: Tabbed UI home page background

            It would look like a fine dessert on an even fancier ornate tray.

            Sounds like a great idea for a work in progress!

            Anybody on the West coast listen to Dennis Miller?

            Bob

            Comment


              #7
              Re: Tabbed UI home page background

              May I be struck by lightning if I build an application with a different background image or color per tab, but this is one way to do it. I attached an example.

              Go to the GRID that you are inserting in the tabbedui (not the tabbedui itself). Go to Properties > Freeform Edit Region > Above Grid. Enter in this style code, but use an image that you have rather than the header.jpg I show.

              Code:
              <div style="padding:10px;background-color:green;background-image:url(images/header.jpg);background-repeat:no-repeat;background-position:center">
              Go to Freeform Region > Below Grid and just add the closing "</div>"

              Go back to your tabbedui and preview or publish and view.

              Play with the padding and position settings to get what you want. You can also add "height:500px" to force your colored area to be of greater height. The image will always center.

              It's not perfect since the grid is not transparent, the background image does not bleed through. The colored area and image are relative to the Grid, not the Pane, so the color does not extend to the bottom of the pane.

              The reason this is difficult is because in the tabbedui, your Grid takes on a new complex naming structure. And the Pane is NOT associated with the Grid. The first tab is tab.0 no matter what Grid is opened in that tab.

              --------------

              I listen to a lot of strong comedy on ITunes. Sorry, I always turn the station if Miller comes on.
              Steve Wood
              See my profile on IADN

              Comment


                #8
                Re: Tabbed UI home page background

                Psychedelic site! Maybe Ti-die!

                I was thinking to try the free form areas when I woke up this morning but thought it might still have a common background

                I'll give your method a try.

                So what your demonstrating is that the background is a part of the ajax window itself?

                Thanks again.

                Comment


                  #9
                  Re: Tabbed UI home page background

                  This works but leaves a small border around the perimeter of the pane (also in the browser). I tried setting the border it didn't work.

                  It is not dynamic so you have to compensate the padding to anticipate different grid sizes. For instance if the grid renders with no records you would need more padding. If you put to much you get scroll bars.

                  I set the top and left padding to position the grid in the pane and than use the right and bottom regions to fill the rest of the pane.

                  <div style="BACKGROUND-IMAGE: url(flag.jpg); PADDING-BOTTOM: 275px; PADDING-LEFT: 50px; PADDING-RIGHT: 275px; PADDING-TOP: 25px">
                  you need to remove the closing tag. Note: Alpha re adds it each time you open the editor . You put the closing div tag in the below property (editor) and save.

                  Steve identified the pane as tab.0 for all panes,could you set the background for tab.0 somewhere? Could it be made dynamic? Can you get rid of the perimeter space this way?

                  Tks
                  Bob

                  Comment


                    #10
                    Re: Tabbed UI home page background

                    I tried using the style editor. The pagebody setting changes the header section. You can set the button panel style in the properties of the tabbed UI.

                    The problem is setting the pane background. In order to change the pane background you have to change the css of dataTD in the style editor. This works however it also sets the background of the row cells in the grid.

                    Can these 2 settings be separated ? This would give you a lot more design possibilities in the Tabbed UI.

                    Tks
                    Bob

                    Comment


                      #11
                      Re: Tabbed UI home page background

                      Bob,

                      There is a very simple way to set the style of the containing div of the Tabbed UI. (Thanks to Bob Moore for pointing me in the right direction)

                      In the Tabbed UI, there is a section labelled Tab Pane Javascript. In the onInitial event add the following code (set values to taste):

                      Code:
                      var currTab = paneObj.value + '.PANE';
                      $(currTab).style.backgroundImage='url(bg_1920x1080.jpg)';
                      $(currTab).style.padding='.5in';
                      In my case, I wanted to set a background image and set the padding around a grid to provide more "white space". You can also use:

                      Code:
                      var currTabName = paneObj.html;
                      This will give you the tab's name so you can programatically set background colors and other styles based on the currTabName value.

                      The secret is the paneObj which does not show up in the DOM, but rather seems to be created and destroyed as the pane is instantiated.

                      Hope this is helpful...
                      Jim Dusoe
                      Net Data Design Innovations
                      Alpha Software Senior System Architect

                      Comment


                        #12
                        Re: Tabbed UI home page background

                        Jim,
                        I will give it a try.
                        Thanks,
                        Bob

                        Comment

                        Working...
                        X