473,396 Members | 2,039 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Having trouble creating my index view page (DXTREME) icons and images are out of sinc

Hello Fellas!!
I'm building and learning at the same time on a cross platform multichannel app with HTML5 along with DXTREME and my VS 2012 IDE. the problem I'm having is that my background ("content" place holder) disappears when I try to create my view page. my model is correct, my view-model is correct also but my view page is all outta wack and this is what I'm seeing.
1) As I previously mentioned my content background totally disappears when I put in my div tags with the data-bind commands. in my content view it just says "NO RESULTS". my Task bar looks good along with my header in the index view simulator looks good also.

2) I went ahead and debugged the app and I get even weirder results. My image and the text that is bounded to it are out of sinc, the image is supposed to rest at the left of the screen with the text displayed to the right of it, instead they're on top of each other and the image repeats at the bottom of the first image and text.

3)Another problem is the icons on my navigation bar are now stacked on top of each other in the bottom center of the screen (or I should say they're all stacked on top of each other in the middle of the navigation bar which is basically my footer)

I've attached a print screen view of what I just previously mentioned so any of you can get an idea of what I'm going through here and I hope it helps. I have dual screens so the image is rather wide but on the left side is the index view I'm getting in DXTREME and then on the right is what I'm seeing in my browser. also I'll lock in a little of my app config.js code and some other things

I'll admit I'm a little hairy with HTML compared to other other programing languages because I've never had a reason to learn it until now but believe me I'm a pretty fast learner when it comes to stuff like this But I'd appreciate any help pointers or advice you all have to offer. Lastly can anybody tell me where the best resources are as far as learning the whole cross platform concept (you know like JavaScript HTML and CSS3 All in one (HTML5)) I'm learning on the fly here and I want to learn it all in like a package rather then having to individually waste time on one subject alone.

Thanks for listening!!!




oh yeah I inserted my js code for the NavBar that's acting up
let me now if I need to provide more examples of my code.
my print screen attachment is to big for my to upload so I posted my index view codw (it's in HTML)

Expand|Select|Wrap|Line Numbers
  1. <div data-dx-role="view" data-dx-name="Index" data-dx-title="Welcome to Game Butler">
  2.     <div data-dx-target-placeholder="content">
  3.         <div data-bind="dxList: { dataSource: gameItems }">
  4.             <div data-dx-role="template" data-dx-name="item" data-bind="dxAction: '#ConParaMenu/{id}'">
  5.                 <img width="60" height="60" class="icon" src="Content/images/diningBl.png">
  6.                 <div data-bind="text: title1"></div>
  7.             </div>
  8.         </div>
  9.     </div>
  10. </div>
  11.  
  12.  
this is my "NavBar" layout javaScript code

Expand|Select|Wrap|Line Numbers
  1. window.gameButlerApp1 = $.extend(true, 
  2.                             window.gameButlerApp1, 
  3.                             {
  4.   "config": {
  5.     "defaultLayout": "navbar",
  6.     "navigation": [
  7.       {
  8.         "title": "Home",
  9.         "action": "#Index",
  10.         "icon": "home"
  11.       },
  12.       {
  13.         "title": "Main Menu",
  14.         "action": "#Menu",
  15.         "icon": "menu"
  16.       },
  17.       {
  18.         "title": "Cart",
  19.         "action": "#Cart",
  20.         "icon": "cart"
  21.       },
  22.       {
  23.         "title": "Status",
  24.         "action": "#Status",
  25.         "icon": "find"
  26.       }
  27.  
  28.     ]
  29.   }
  30. });
  31.  
May 9 '13 #1
0 1523

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Michael Iatauro | last post by:
I've been having a little trouble creating users cross-platform. I have a little script that works just fine on Solaris 8 using this command: eval "/path/to/mysql --user=root --password=*****...
2
by: Tom Alcendor | last post by:
I am building a chess game application that allows a user to click on a piece and move it to a new square. When the user clicks on a piece the mouse pointer must change to the image associated...
0
by: adolph | last post by:
Over the last two years I've written an MS accedd based program. The back end is also backend. It is a realestate inventory management program. It uses a third party program to manipulate...
3
by: Arun | last post by:
Hi, I have simple question to ask. How to write multiple Binary files to the Browser using Asp.Net and Visual C#.net I have seen examples where single binary file is written to browser. ...
1
by: Jozef | last post by:
Hello. I'm having trouble creating a blank solution (and ASP.net web application) from my laptop. I own the server (in fact it's sitting right next to me) and have added the URL to the trusted...
2
by: Dave | last post by:
It seems that if I put just html inside a master page, everything works fine. But if I put other controls (such as WebControls and/or my own custom controls), I can't seem to access the content...
2
by: roger26 | last post by:
I am having trouble with a registration page. Which contains 3 groups of radio buttons and a check box i having hard time to making it work. I have added code for matching the password too but having...
10
by: Adela Arpitha | last post by:
Hello Sir/Madam I am doing a project using asp.net 1.1 as the front end. I very recently upgraded my browser from internet explorer 6 to internet explorer 7. since then when i execute my program...
3
by: jaesik | last post by:
Hi all, I've been working on my personal portfolio website and been struggling a lot because of J-query. Since my j-query level is not like master.. I usually modify existing j-query plugins to...
0
by: Michael Pearson | last post by:
I currently have two know problems with my current code. First, I can't seem to get the image to display. I have the gallows already displaying and I want to get the head (that is the next pic that...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.