w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
Sliding Menu shows always full screen with ActionBar Sherlock
See the code I posted here SlindingMenu without ActionBar, It works for me as the Facebook / Foursquare menu. Those Lines are not implemented / different from your side : menu.setMode(SlidingMenu.LEFT); menu.setTouchModeAbove(SlidingMenu.TOUCHMODE_FULLSCREEN); Try it.

Categories : Android

Camera preview shows unwanted tiles only on Android 4.2.2 (S4, full HD screen)
This looks like a possible bug in the Android platform on Samsung's S4 devices with that particular Android version. My experience tells me that it's a very real possibility. It could also be that you do something wrong in your app that only causes actual problems on that version (and maybe even only on that device), but there is no indication of that from what you tell. Android 4.2.2 should be backwards compatible with 4.0.3, so in general it should work on the later version too, of course. I would advice you (or anyone in the same situation) to try it out on other devices with the same Android version if possible. Also, double check that you're not violating anything in the Android API documentation. Please add more info about what you're doing and how if you need more detailed answers

Categories : Android

Fullcalendar (full calendar) Not defaulting to display the current today's date. Month shows february and not today's
it is because of the month option you are setting, it is used to set The initial month when the calendar loads. Try $(document).ready(function() { $('<?php echo $calendar ?>').fullCalendar({ header: { left: 'prev, next today, agenda', center: 'title', right: 'month, agendaWeek, agendaDay', ignoreTimezone: false }, // Multiple Sources eventSources: [ '<?php echo get_option('fc_option_feed1'); ?>', '<?php echo get_option('fc_option_feed2'); ?>', '<?php echo get_option('fc_option_feed3'); ?>' ], events: { //http://www.google.com/calendar/feeds/centre.edu_5f119bnujdfol3gs59h0driv9c%40group.calenda

Categories : Jquery

drupal image in view is displayed full screen, how to get the image smaller?
In Drupal 7, you can use the core Image Styles (admin/config/media/image-styles) to set pre-defined image sizes, cropping, and more. Once you have an image style configured, you can use it to style an image in a view. This gives you complete control over image cropping and sizing. If you're using Drupal 6, the ImageCache module does the same thing.

Categories : Image

Calendar shows on icon as well as inline calendar from input box
In showOn, instead of "button" use "both" $(".dob1").datepicker({ hideIfNoPrevNext : true, yearRange : "-95", showOn: "both", buttonImage : rootPath + "images/callender-icon.png", buttonImageOnly : true, changeMonth : true, changeYear : true, maxDate : '-18Y', dateFormat : "mm/dd/yy", buttonText : "Choose date of birth", inline : true });

Categories : Jquery

My horizontal navigation menu shows as 1 line in chrome, others shows 2 lines
you are aware that in: .mainnav ul li a:link,.mainnav ul li a:visited there are double padding decalarations? padding:4px; padding: 0 0.73em; You can combine those: padding: 4px 0.73em; Seems that the issue with the navigation list is that there is too much spacing in between them in combination with the amount of items. I there are too much items, the normal behavior is the wrapping, you could decrease spacing, font-size to fix this.

Categories : HTML

JQuery Full Calendar - edit calendar view after initialization
If you go through their documentation it is clearly specified. There is a function to change the view. .fullCalendar( 'changeView', viewName ) http://arshaw.com/fullcalendar/docs/views/changeView/

Categories : Javascript

CSS full-page-width horizontal menu and horizontal submenu
If I understood your question, this should get you on your way: http://jsfiddle.net/X7T94/ It does require putting class="active" on the main-menu li that you want as the active item. The rest of your HTML is the same. CSS: .full-width { width: 100%; } .normal-width { width: 1024px; margin: 0 auto 0 auto; } .main-menu > li { float:left; list-style-type:none; padding-right:30px; } .sub-menu { display:none; } .sub-menu li { float:left; padding-right:30px; } .main-menu li.active { background-color:blue; } .main-menu > li.active .sub-menu { display:block; position:absolute; left:0; right:0; background-color:blue; } Obviously it isn't perfect or beautiful, but it should get you on your way.

Categories : HTML

Breaking down 1 calendar event into smaller events in SharePoint
just a thought - I mean, the reason i think you want the events to pre-exist is so that users can easily create them in the correct time slot (rather than clicking the new item menu, which throws them away from the calendar view/context). Is that right? If so, allow me to offer you this scenario: If you are using KWizCom's Calendar Plus web part (yeah, I work for KWizCom...) it allows you to type in the event in the calendar itself directly. Something simple like: "1pm-2:30pm Training meeting with Josh" check the demo video here: http://www.kwizcom.com/sharepoint-add-ons/sharepoint-calendar-plus-web-part/overview/ Also, drag and drop events in the calendar to move them easily, and it also supports color coding events based on categories (meta data, views, sources, etc.). The one thing

Categories : Sharepoint

highslide gallery wide first image shows behind smaller subsequent images
You can solve this by adding class="hidden-container" to the div inside your gallery-area div.The hidden-container class is predefined in your highslide.css file. Change this: <div id="gallery-area" style="position:absolute; top:68px; left:245px; width: 240px; height: 180px; margin: 2px 2px 0px 10px; overflow: hidden;"> <div> To this: <div id="gallery-area" style="position:absolute; top:68px; left:245px; width: 240px; height: 180px; margin: 2px 2px 0px 10px; overflow: hidden;"> <div class="hidden-container">

Categories : Misc

how to make popup in center of screen and overlay/background to full screen high
Place the Popup Window inside the overlay-div! <body id="page1" style="height: 100%;"> <form id="form2" runat="server" style="min-height: 100%;"> <div id="content"> .. content ... </div> </div> <div class="darkenBg" id="popupBackground" style="display:none;"> <div class="greenBox2 popUpWin" id="companySigninPopup" style="display:none;"> <div class="topWrap"> popup window </div> <div class="botWrap"> <div class="corner-bottom-left">&nbsp;</div> <div class="border-bottom">&nbsp;</div> <div class="corner-bottom-right">&nbsp;</div> </div> </div> </div> </fo

Categories : Javascript

How to create videoview like youtube "small screen and full screen play in android "
You have to override setAnchorView in your new java class which extend the Android's MediaController (android.widget.MediaController) and add an extra view/button to the controller. And do something like this @Override public void setAnchorView(View view) { super.setAnchorView(view); Button fullScreen = new Button(context); fullScreen.setText("FullScreen"); FrameLayout.LayoutParams params = new FrameLayout.LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT); params.gravity = Gravity.RIGHT|Gravity.TOP; addView(fullScreen, params); } now add clicklister to view

Categories : Android

Everything moves in website when changed from full screen mode on desktop screen
Something to this effect? The biggest issue was that you didn't have a minimum width for your menu, so it would keep shrinking until it stacked on itself. #navigation { float:left; width:60%; height:24px; min-width:1000px; text-align:center; padding:10px 20px; }

Categories : HTML

I have a background set to the bottom of the screen, but when I go to full screen there is an empty white space beneath. Why is this happening?
First, fix the errors in your HTML. They look terrible. Then, you calculate the height as screen.availHeight. That's a mistake, availHeight is the height of the desktop. Excluding things like taskbars and whatever you may have on your computer. What you need is screen.height.

Categories : HTML

App shows main screen after screen rotation
You should use onSaveInstanceState to save your state, and then recreate it in onCreate. Read following answer Restore values on screen rotation

Categories : Android

how to not load objects on smaller screen
CSS and HTML works on browser, having said that when HTML or CSS do anything they are always on browser and are probably already loaded. the best of not downloading that DIV is do not add it in your HTML. If you are using Server side script language such as PHP or ASP.NET make sure to put them in condition that if on Mobile device do not "Echo" or render them. another way is you use Javascript and ajax, and call element on ondemand, but again that is lot of server side programming.

Categories : CSS

JavaScript Render Logic : Horizontal Dynamic Booking Calendar
I realize this isn't answering your question, but any reason you're rolling your own calendar functionality when there are a ton out there already that you could re-use? Date/times can get tricky. If you have to roll your own, check out http://momentjs.com/. It will allow you to do things like get the # of days between two dates, and you can also add a day to any date. So you can do something like (pseudocode without looking at library): newDate = startDate; While ((newDate = newDate.addDay(1)) < endDate) { // highlight on calendar }

Categories : Javascript

HTML division not responsive in smaller screen
Make sure you're using bootstrap responsive CSS and not the standard CSS. Then get rid of the min-width on your containing element container-fluid. It's not fluid at mobile size if it has a fixed min-width. Then replace your row classes with row-fluid classes.

Categories : HTML

how to get the grids in bs3 to stack when screen is smaller than 480px?
You can use the 'col-sm-*' class. This is the "small" grid breakpoint, but at less than 768 pixels it will stack.. <div class="container"> <div class="row"> <div class="col-sm-4">col-sm-4</div> <div class="col-sm-4">col-sm-4</div> <div class="col-sm-4">col-sm-4</div> </div> </div> Demo: http://bootply.com/75567

Categories : Twitter

Pull data into full calendar using php
Try this if it is what you are looking for. <?php $str = '[ {"id":"53","start":"2013-06-06","title":"Assignment2"}, {"id":"52","start":"2013-06-07","title":"Assignment1"}, {"id":"54","start":"2013-06-08","title":"Assignment3"} ]'; $str = str_replace('{"', '{', $str); $str = str_replace('":', ':', $str); $str = str_replace(',"', ',', $str); echo "<pre>" . $str . "</pre>"; ?>

Categories : PHP

Grid Calendar not getting full view
Instead of using Linear Layout try Relative Layout: <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="90dp" android:layout_height="90dp" android:background="@color/reaction_color_selected"> <TextView android:id="@+id/num_events_per_day" style="@style/calendar_event_style" android:layout_gravity="right" android:text="1" android:layout_width="wrap_content" android:layout_height="wrap_content"> </TextView> <TextView android:id="@+id/textView1" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignPar

Categories : Android

Block grid shows horizontal scroll bar in Foundation
take a look of this demo by Paul Irish * { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; } this might be helpful else can you provide a fiddle?

Categories : CSS

JQuery Week Calendar: Only shows header on initial load
The problem is with jquery week calendar JS file. It was created for compatibility with jquery 1.4. 1.9 deprecated the $.browser member. My fix is this: // for compatibility with jQ 1.4 $.browser = {};

Categories : Javascript

Repositioning background image on smaller width screen
follow tutorials for responsive : http://stephen.io/mediaqueries/ http://webdesignerwall.com/tutorials/responsive-design-in-3-steps

Categories : HTML

jquery full calendar displays events next day
According to the chapter MySQL 5.6 Reference Manualp - 12.7 Date and Time Functions UNIX_TIMESTAMP() assumes that its argument is a datetime value in the current time zone. Key Question: Are the dates inserted into the database via the browser - using the same time zone as PHP and MySQL? Are datetimes being inserted without considering the timezone, leading to offsets and errors? Is the browsers time being considered both when inserting but also viewing previous events? Actions/Points: Requires a review of your event insertion code (javascript and PHP). Requires check to see which timezone your server is operating in. This can either be done through a console command (linux) or directly in php with [date_default_timezone_get()] (http://php.net/manual/en/function.date-default-

Categories : PHP

highlight particular dates of all months using full calendar
Your month should be two digits. Please add the below code. var month = (month <= 9) ? '0' + month : month; I have shared Fiddle Link

Categories : Jquery

Full Calendar - events refetching but not rerendering
You need cache your jquery selector for calendar in variable - var calendar = $("#calendar").fullCalendar();. And when you render calendar need add this code: if(calendar){ calendar.fullCalendar('destroy'); } calendar = $("#calendar").fullCalendar({ //your options });

Categories : Jquery

full calendar change event color
Try assigning a classname to it and define that class inside a CSS block of code, just like this one: <style> .myCalendarEvent{ color:#000; background-color:#FFF; border-color:#669999; width: 100%; } </style>

Categories : Ruby On Rails

full calendar not displaying when loaded (with backbone)
I had a similar problem and found this important information in the docs: http://arshaw.com/fullcalendar/docs/display/render/ My calendar was on a tab currently not selected making the parent container not visible and thus not drawn correctly. Added a call to the render method after selecting the tab and it all worked great. Your issue might be solved in a similar way.

Categories : Javascript

How would I get my horizontal navigation bar to span the full width?
http://jsfiddle.net/4s6wn/ Here, I made a fiddle with what you wanted. Instead of using float:left on the lis, you can use display:inline-block and then text-align:center on the .navbar I also put the green background color on .navbar instead.

Categories : HTML

Full calendar: improve event fetching speed
Looking at your code you should have the results for getCreator() in your query inside listEvents. So, I would look at your code for listEvents() and simply add another array element to your array when processing your result set. Note You should always try and avoid calling a DB inside a loop! Either create a second query and store the results in a variable before hand, or use an extra JOIN to get more results from your original query (depending on a few factors). I hope this helps

Categories : PHP

Different events display different color(jQuery Full Calendar)
You can use the backgroundColor property FIDDLE events: [ { title: 'All Day Event', start: new Date(y, m, 1), backgroundColor: '#000' }, { title: 'Long Event', start: new Date(y, m, d-5), end: new Date(y, m, d-2), backgroundColor: '#000' }, { id: 999, title: 'Repeating Event', start: new Date(y, m, d-3, 16, 0), allDay: false } ] Similarly: If you want to change the color of text of event you can use textColor If you want to change the color of border of even you can use borderColor

Categories : PHP

jquery full calendar: set a different color to each event from front-end
To colorize each event differently there are a couple approaches you can take to tackle your problem. Update the event feed '/bookings-feed.php' and add color(background and border), backgroundColor, textColor, or borderColor to the event object http://arshaw.com/fullcalendar/docs/event_data/Event_Object/. events: [{ title : 'event1', start : '2010-01-01', color : '#000' }] Separate and update the event feeds to use eventSources. Which allows you to group events by color and text color. http://arshaw.com/fullcalendar/docs/event_data/events_array/. $('#calendar').fullCalendar({ eventSources: [ // your event source { events: [ // put the array in the `events` property { title : 'event1', start : '2010-01-01'

Categories : Javascript

Jquery Full Calendar Events by ajax call
First suggestion: why not use one type of event source? For example use JSON feed - you can get events range by GET parameters start and end, so if you change month or view you can send from database appriopriate events. Second suggestion: if you necessarily need two types of event sources, try use addEventSource / removeEventSource

Categories : PHP

Screen resolution. Full screen - perfect. Normal screen - not perfect
Can't see the rest of the code but if you want the background to be centered don't you want it to set it up as: body{ background-position: center; } The way it is now, the background is properly centered for only one resolution, because it is aligned to the left.

Categories : CSS

When typing in android firefox browser the keyboard is making my screen smaller
I'm pretty sure it has something to do with; .mainbody { width:100%; Height:100%; } Not sure if that's the case thought, can't imagine Android would make the sitescreen smaller for the keyboard thought... I'm also not quite sure why you are putting overflow: hidden on your html, body. Could you explain?

Categories : Android

horizontal select full width jQuery Mobile
Working example: http://jsfiddle.net/Gajotres/PUVkw/ HTML <fieldset data-role="controlgroup" data-type="horizontal" class="custom-fieldset"> <legend>Date of Birth:</legend> <select name="select-choice-month" id="select-choice-month" data-icon="false"> <option >Month</option> <option value="jan">Jan</option> </select> <select name="select-choice-day" id="select-choice-day" data-icon="false"> <option >Day</option> <option value="1">1</option> </select> <select name="select-choice-year" id="select-choice-year"> <option >Year</option> <option value="2011">2012</option> </select> </fields

Categories : Jquery

ms-access 2007 form datetime control : if control length smaller than the size of the value it shows ###
Access doesn't behave like this. You can either increase the width of the control (the best solution) specify a shorter Format for the date reduce the font size An odd approach would be to add a label which obscures some of the date-control, but such that you can still see part of the date in the background. You might consider using an event such as Focus to change the Format of the control, but this won't work as the Format only applies when you move away from the control. You could, I suppose, use two controls; one for display and one for editing.

Categories : Forms

Changing background-color of event in jquery full calendar
Hi Lamloumi has you can see in event object properties there is a className you can set in every event wich allows you define for each event a CSS class, and then define each color for each type of event background color in CSS. If the colors are dynamic i mean if they are not all the same you can use Jquery or javascript to change "on the fly" the css class. If you need further explanation please let me know. Live long and prosper.

Categories : C#

ProgressDialog in Android - Indicator shows full even for 30%
you need to add the maximum size of your progress like: progressBar.setMax(100); see this example: http://www.mkyong.com/android/android-progress-bar-example/

Categories : Java



© Copyright 2017 w3hello.com Publishing Limited. All rights reserved.