w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
click animates title bar up, slidesdown a panel open, how do I click again to animate down raised bar and close panel?
Rather than this: $spTitle.animate({ top: '8px' }); use this: if (parseInt($spTitle).css('top') > 0 ) $spTitle.animate({ top: '0px' }); else $spTitle.animate({ top: '8px' });

Categories : Jquery

How to find header elements in html panel and add event to header to hide p tags?
Change: $("dnn_htmlPan1").find(":header").click(function(){ To: $("#dnn_htmlPan1").find(":header").click(function() { You forgot the # to symbolize you're searching for an ID

Categories : Javascript

SpTBX: not bold font, for panel title
The caption of a dockable panel is actually a label item, the panel's own font has no effect. You can access the label item's - a right align spacer - font settings like the below: MySpTBXDockablePanel.Options.RightAlignSpacer.FontSettings.Style := []; You can put this f.i. in the OnCreate event of your form.

Categories : Delphi

Extjs, collapsed form panel. Title not showing up
There are two small things you need to fix: 1 Method collapse, does not take argument bool, but collapse( [direction], [animate] ), all optional. 2 Use itemId instead of id: An itemId can be used as an alternative way to get a reference to a component when no object reference is available. Instead of using an id with Ext.getCmp, use itemId with Ext.container.Container.getComponent which will retrieve itemId's or id's. Since itemId's are an index to the container's internal MixedCollection, the itemId is scoped locally to the container -- avoiding potential conflicts with Ext.ComponentManager which requires a unique id. 3 Fetch component reference using this inside of internal scope and use ComponentQuery outside of it. Like this: this.setTitle('Filter Events By Tim

Categories : Javascript

how to enable translation module for panel title in drupal 6?
If you require any sort of i18n or l10n (internationalization/localization) for Drupal, you should review this doc: http://drupal-translation.com/ Answering your question, this is taken directly from drupal-translation: reference: http://drupal-translation.com/content/translating-block-contents# Drupal's i18n module can translate block contents. To display blocks in multiple languages, you can use one of these approaches: Creating a different block for each language. Using string localization When you create a block, you can choose to assign it to a specific language or to all languages and use string translation. Method 1 - different blocks per language Select a unique language for the block and indicate which nodes to display it for. You should select only

Categories : Drupal

slidify layouts: title-only, title-and-body, title-and-two-cols, title caption, and blank
Slide layouts are mustache templates that can make use of objects returned by the parser. You can find a list of objects returned by the parser here. Coming to the question raised, here is how one would go about building the layouts for the slides. Title Only <slide class="segue nobackground {{ slide.class }}" id="{{ slide.id }}"> <hgroup> {{{ slide.header }}} </hgroup> </slide> The two column layout inherits from the parent layout, and the column widths are configurable. Two Columns --- layout: slide replace: slide.content --- {{{ slide.content }}} <div class='left' style='float:left;width:{{{ slide.left.w }}}'> {{{ slide.left.html }}} </div> <div class='right' style='float:right;width:{{{ slide.right.w }}}'> {{{ slide.right

Categories : R

How to add ui-icon to my header panel dynamically?
You can add facets to the component programmatically by putting them in the map as available by UIComponent#getFacets(). So, the Java equivalent of this: <p:panel> <f:facet name="header"><h:outputText value="bar" /></f:facet> </p:panel> would be as follows: Panel panel = new Panel(); UIOutput header = new HtmlOutputText(); header.setValue("bar"); panel.getFacets().put("header", header);

Categories : JSF

IE Incompability for header title
This is a font issue. You have several @font-face declarations in your CSS, but you are only specifying font files in the the .woff format. This will give you an issue in more than just IE. Please note that in order to support all browsers, you will need to supply your fonts in several formats -- to cover all the browsers in common use you'll need .eof, .woff, and .ttf formats. See this Bulletproof @font-face article for more detailed discussion of which browsers support which formats and how to write your @font-face declarations in order to get the best possible cross-browser coverage. If you haven't got your fonts in all the required formats, you can use a tool like FontSquirrel to help you.

Categories : HTML

ExtJS 4 : Adding a button to a tab panel header
you can use this: Ext.create('Ext.panel.Panel',{ renderTo : Ext.getBody(), id : 'testPanel', height : 200, width : 200, items: [{ xtype : 'tabpanel', activeTab : 1, tbar:[{ text : 'txtButton' }], items: [{ title: 'tab1' },{ title: 'tab2' }] }] }); this will make buttons for your tabpanel.

Categories : Extjs

BB10 - Change QML Header Title from C++
Add this in .cpp #include <bb/cascades/Header> You access like this: void ApplicationUI::changeConnectionText(QString Text) { Header* myheader = Application::instance()->scene()->findChild<Header*>("connectionStatus"); myheader->setTitle(Text); } And you call it like this (in cpp): changeConnectionText("Yay, connected!"); And QML Header { id: connectionStatus objectName: "connectionStatus" //add this!!! title: "Connection Status:" verticalAlignment: VerticalAlignment.Bottom bottomMargin: 0.0 topMargin: 0.0 visible: true subtitle: "" } Tested, it works

Categories : C++

mail header title wordpress
You can use the wp_mail_from_name filter for this. <?php add_filter('wp_mail_from_name', 'so17635785_from_name'); function so17635785_from_name($name) { return 'Juan Business Design'; } That will replace the from name on ALL emails from your site, including your contact form if it's done corrrectly.

Categories : PHP

adjusting position of button added to panel header?
If you're using ExtJS 4.2, you can use the titlePosition property to accomplish this. See http://jsfiddle.net/U8MSd/ tools: [{ type: 'help', tooltip: 'Get Help', handler: function (event, toolEl, panel) { // show help here } }], header: { titlePosition: 0, items: [{ xtype: 'button', text: 'test' }] }

Categories : Extjs

Unable to change header title via headertext
The columns property is a zero based array. Unless there is a hidden first column you are starting at 1. Re-number the indices to 0-7 instead of 1-8. http://msdn.microsoft.com/en-US/library/system.windows.forms.datagridview.columns(v=vs.80).aspx GVVerify.Columns[0].HeaderText = "Police ID "; GVVerify.Columns[1].HeaderText = "Password"; GVVerify.Columns[2].HeaderText = "Email "; GVVerify.Columns[3].HeaderText = "NRIC "; GVVerify.Columns[4].HeaderText = "Full Name "; GVVerify.Columns[5].HeaderText = "Contact "; GVVerify.Columns[6].HeaderText = "Address "; GVVerify.Columns[7].HeaderText = "Location ";

Categories : C#

Panel Header covering the grid when I change its height - ExtJS
For a background image re-sizing, you can use background-size property. However, this is not supported by IE7/8. For managing the height of the panel, you can use % values or set @media queries.

Categories : CSS

how can we give header and title to excel sheet in asp.net in following function
Take a temp grid and then if you using datatable use that or use datas as follows... DataSet ds = ViewState["Data"] as DataSet; DataView sortedView = (ds.Tables[0]).DefaultView; //DataTable dt = ViewState["Data"].ToString(); //Create a dummy GridView GridView GridView1 = new GridView(); GridView1.AllowPaging = false; GridView1.DataSource = sortedView; GridView1.DataBind(); GridView1.Caption = "ABCD"; //// allows you to give caption to excel sheet Response.Clear(); Response.Buffer = true; Response.AddHeader("content-disposition", "attachment;filename=RM.xls"); Response.Charset = "";

Categories : C#

jQuery mobile 1.3 left slide panel - phonegap and fixed header
This solution is working for me, I am talking about Android hybrid app made in Phonegap. Working jsFiddle example: http://jsfiddle.net/Gajotres/PMrDn/56/ <div data-role="page" id="index"> <div data-role="panel" id="mypanel" data-position="left" data-display="push"> <a data-role="button">Some button</a> </div> <div data-theme="b" data-role="header"> <a href="#mypanel">Open panel</a> <h1>Index page</h1> </div> <div data-role="content"> </div> </div> What you require is data-display="push" attribute inside your panel. It will successfully push fixed header to the right. This works on Android 3+ and

Categories : Jquery

header title has a string addition and ignores one of the parametres when i run it remotely
If anyone comes across this problem, a symbol $ in that string was giving VS a hard time when trying to understand the currency as y was trying to show: Amount(US$) now that I took away the $ it works fine. I hope this gives a hand to somebody, this problem took me 8hs behind my scheadule.

Categories : String

Load new panel.Panel when click on items in tree.Panel
This code solved problem treePanel.getSelectionModel().on('select', function(selModel, record) { if (record.get('leaf')) { Ext.getCmp('content-panel').layout.setActiveItem(record.getId() + '-area'); } });

Categories : Javascript

fixed header with a slide down panel that stays fixed as well when you scroll down the page
noticed that you have semi-transparent header, so you can see text scrolling underneath it. Not sure if intended! I've put together a very simple example of fixed header with fixed sliding panel, hope that's what you're looking for. http://codepen.io/kasperoo/pen/fLjJy Cheers

Categories : Javascript

Multiple lists put side-by-side and with a styled title header
Your html is invalid, and you're using inline styles. I've included a wrapping div around the lists and headers with a class. A working example is here: http://jsfiddle.net/Pf8eR/ Html <div class="column"> <h2>First Column</h2> <ul> <li>First item</li> <li>Second item</li> <li>Third item</li> </ul> </div> <div class="column"> <h2>Second Column</h2> <ul> <li>First item</li> <li>Second item</li> <li>Third item</li> </ul> </div> <div class="column"> <h2>Third Column</h2> <ul> <li>First item</li> <li>Second it

Categories : HTML

jquery accordion - How to activate a panel based on active class inside the panel?
You will want to get the index of your active class and use the "active" option on the accordion. function setActive() { var index = $('#myaccordion li').index($('#myaccordion li.activeClass')); $('#myaccordion').accordion("option","active" index); } For more information you can look here and here. Hope this helps.

Categories : Jquery

jQuery sliding panels - close one panel when opening another one/How to open one panel only?
Something in these lines. I would you data-* attributes to provide a relation between the panels and the images. The follow up the logic based on the conditions. Javascript $('#panel1').slidePanel({ speed: 'slow', position: 'static' }); $('#panel2').slidePanel({ speed: 'slow', position: 'static' }); $("[id^=icon]").click(function () { // Current active panel var $currPanel = $('#' + $(this).data('panel')); // Slideup all the other panels other than $currPanel $('.panel').not($currPanel).slideUp(); // If $currPanel has no active class only then slide down if (!$currPanel.hasClass('current')) { $currPanel.slideDown("slow"); } // Add class active to current panel $currPanel.addClass('current'); // Remove class for other panel

Categories : Javascript

C# Asp.net Ajaxcontroltoolkit multiple Accordion Panels. Show or Hide last panel if a checkbox is selected in first panel
I'd like to see your code to be sure, but I'm expecting it's because you have an UpdatePanel in each of the AccordionPanels. Once an event happens in one UpdatePanel, ASP.NET will not run code handling that event that is attached to another UpdatePanel. First, I'd take out all UpdatePanels to see if your code works as expected. Then, I'd add one UpdatePanel wrapped around the entire Accordion and see if your code still works. If you really decided you need to have 5 UpdatePanels, look into the <Triggers> portion of the UpdatePanel. You'll be able to provide the CheckBox's ID to force the other associated UpdatePanel to PostBack.

Categories : Ajax

Autosizing controls in XAML to fit a stack panel / dock panel, where the middle control is what needs to fill the space
<DockPanel> <TextBlock VerticalAlignment="Center" Text="Command" DockPanel.Dock="Left"/> <Button Content="Send" VerticalAlignment="Center" DockPanel.Dock="Right"/> <TextBox VerticalAlignment="Center" Margin="5"/> </DockPanel>

Categories : C#

How to refresh grid panel's store within a floating form panel?
Instead of user_grid.getView().refresh(); try user_grid.store.load(); and no need to do anything else(splice) on the store if deletion is performed server side.

Categories : Javascript

What is the difference between "activate" and "show" events on Ext.panel.Panel in Extjs 4?
Activate : 1. It will be triggered, after the component(DOM) has been loaded with all referece link and shown to the user. 2. Layout lifecycle - basic component creation Show : 1. It will be triggered, after the component has been shown at the time when we invoke the method "show" of the component. 2. Layout lifecycle - when we call show method of the component. Thanks.

Categories : Extjs

Setting panel height with content that does not fill the panel completely
The Panel in asp.net when rendered in HTML doesn't get rendered as a panel as panel is not a valid html tag. you could wrap div inside of the panel and provide styling to the div. <asp:Panel ID="Panel1" GroupingText="Material" CssClass="material" runat="server" > <div class="material"> <asp:RadioButtonList ID="RadioButtonList1" runat="server" > <asp:ListItem Selected="True">Plastics</asp:ListItem> <asp:ListItem Enabled="false">Glass</asp:ListItem> </asp:RadioButtonList> </div> </asp:Panel> <asp:Panel ID="Panel2" GroupingText="Material" CssClass="design" runat="server" > <div class="design">

Categories : Asp Net

Extjs where to add a dynamically created panel object to my existing panel
Ok.. figured it out. Not too difficult after all... var grid = Ext.create('Ext.grid.Panel', {}); Ext.define('Ext.simplegridwidget.GridTest', { extend: 'Ext.panel.Panel', alias: 'widget.gridtest', title: 'User Management', items: [grid] });

Categories : Javascript

jQuery show / hide panel and then hover over content within a panel
A couple things: User a hover event handler on the li, not the a. This allows you to move your content into the lis, so that hovering on the content means you're still hovering over its parent, the li. jQuery: $('#item-1').parent().hover(function () { $('#panel-1.panel').toggle(); }); $('#item-2').parent().hover(function () { $('#panel-2.panel').toggle(); }); Forked jsFiddle

Categories : Javascript

Right panel grows with left panel, eventhough not nested
So, it looks like your main-content could just be floated left, with out the margin, to fix this up. Like so. .main-content { background: linear-gradient(to bottom, #FCFCFC 0%, #E2E2E2 18%, #EAEAEA 100%) repeat scroll 0 0 transparent; height: 100%; margin-left: 0; float: left; } You could just give it a specific width to fix things up.

Categories : HTML

How do I target a specific panel of JQuery Panel Switcher from a URL
The plugin you're using there doesn't really have a clearly documented API, but theoretically it's possible. I'm going to show an example of how this would be done with a plugin that works the same way but is a little more solid and well-documented -- the tabs widget from jquery ui, and using hashed urls like the first comment suggests. // simple url parser // (via https://gist.github.com/jlong/2428561) var url = document.createElement('a'); url.href = window.location.href; // get the url hash as an integer var activeTab = parseInt(url.hash) || 1; // initialize tabs on the '.selector' element $( ".selector" ).tabs('active', activeTab); This way, you would be able to hash your url with the number of the tab you wanted open, and the tabs plugin would initialize with that tab open (or th

Categories : Javascript

Javascript Slider title replace html for title just working on 1st item
I found a couple of issues with your script, but first you have invalid markup in your page since you have multiple <div> elements with the same ids of tbtit and tbdescp. Id attributes should be unique in a HTML page so should change those to classes instead. Now in your script you need to change the part where you retrieve the values of the title and the description of the image that is hovered to reference the sibling elements: //THIS var tbtit = $("#tbtit").html(); var tbdesc = $("#tbdescp").html(); //SHOULD NOW BE THIS var tbtit = $(this).siblings('.tbtit').text(); var tbdesc = $(this).siblings('.tbdescp').text(); Finally when you update the text for your main image you want to set the content for your <h4> and <p> tags and not replace them completely, so use .t

Categories : Javascript

dynamically apply title of html document into the title fields of images
var title = document.title; $('.sth').attr('title',title); Edit, but I don't really see the point of doing this. The title of the site has little to do with the images, if it's added to all of them, what is the point anyways?

Categories : PHP

How to assign a pre existing panel to an array like panel[0,0]?
The syntax for creating such 2D array would be: Panel[,] chessBoardPanels = new Panel[8, 8]; chessBoardPanels[0, 0] = panel1; chessBoardPanels[0, 1] = panel2; chessBoardPanels[0, 2] = panel3; //... chessBoardPanels[0, 7] = panel8; chessBoardPanels[1, 0] = panel9; //...

Categories : C#

WPF C# Finding controls from panel inside a panel
In your loop you are trying to take all Controls in WrapPanelTest.Children as TextBox. try: foreach (var control in WrapPanelTest.Children) { if(control.GetType() == typeof(TextBox)) c++; }

Categories : C#

(javascript / google scripts) How to get the title of a page encoded with iso-8859-1 so that the title will display correctly in my utf-8 website?
Where are you displaying the content is more important. If you are writing it to a spreadsheet, then you have to change the settings of the spreadsheet to the correct language (French). In addition, you can use the advanced parameters to specify what charset the original content is in. For example, var result = UrlFetchApp.fetch( url , {contentType : 'text/html; charset=utf-8'}); var wholePage = result.getContentText(); var scrap = wholePage.match( /<title>(.*?)</title>/ ); var title = scrap[1];

Categories : Javascript

Responsive menu with title: have a resizing title that takes up all available space
Unfortunately, this is not possible with CSS only — not if you want to work with IE8. You have to calculate the available space to fill the divs within, and the calc()'s function just work on modern browsers. I created two topics to search a responsive solution to percentage containers, and the results are here and here. The JavaScript's final solution is this: /** Centralize the main container **/ function calculateMainContainerWidth() { $realWidth = $(".main-container").width() - $(".right").outerWidth(), $containerContent = $(".left"); $containerContent.css("width", $realWidth); }; $(window).on("resize", function() { calculateMainContainerWidth(); }); calculateMainContainerWidth(); Also available in FiddleJS. I hope it helps.

Categories : Jquery

View Pager Title Strip to show one title Only
get pagerTitleStripe (pagerTitleStripe=(PagerTitleStrip) findViewById(R.id.pager_title_strip);) set alpha to 0 in secondary views (pagerTitleStripe.setNonPrimaryAlpha(0);) y listo!

Categories : Android

Difference between window.title and document.title
The window object doesn't have a title property. http://www.w3schools.com/jsref/obj_window.asp Hope this helps! Cheers, LC

Categories : Javascript

Page Title and Site Title Configuration DNN 7
The default behavior is automatic if you leave the "Page Title" setting blank within the settings for the individual page. To accomplish what you desire you will need to customize the settings on a page-by-page basis.

Categories : Asp Net



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