php,wordpress,hyperlink,category,title
Yes, you can do this using the category.php theme file. When this page is hit, it loads a specific category requested and the posts that fall into that category. Your theme and loop may look something like this: <?php single_cat_title(); ?> <?php echo category_description(); ?> if (have_posts()) : while (have_posts())...
javascript,jquery,list,click,title
You need Attribute Equals Selector [name="value"], As the value of title contains # in selector which needs to be escaped so we enclosed it with single quotes $("li.ui-corner-all[title='#9330ff']").click(function() { alert(this.title); }); Edit based on comments as OP want to click when item with particular attribute exits. $("li.ui-corner-all[title='#9330ff']").click(function () { alert(this.title);...
javascript,jquery,document,title
Try this: var currentTitle = document.title; var beginSubmission = setInterval(function(){ loaded+=1; bar.css('width', loaded+'%'); document.title = loaded+'% :: ' + currentTitle; text.empty().append(loaded + "% completed. <br>"); if (loaded >= 100){ clearInterval(beginSubmission); text.html('Done'); document.title = currentTitle; } }, time); This backs up your title and changes the percentage on it. At the...
javascript,highcharts,alignment,title,pie-chart
Better is remove title and use renderer which allows to add custom text, which can be repositioned each time (when you redraw chart). Only what you need is catch this event. function addTitle() { if (this.title) { this.title.destroy(); } var r = this.renderer, x = this.series[0].center[0] + this.plotLeft, y =...
In Windows Vista and later Windows service run in a separate session. When a user logs in a Terminal Services enabled computer a new session is created with each logon. That's the reason we are not able to access the window title of a process since it is running under...
SVG uses title elements, not attributes, you can't style them though. If you need styling you'd need to create the title dynamically as a <text> element and place it at the right location using javascript. This is what default tooltips look like... <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 50...
java,android,title,toolbar,textcolor
One one could be to use Html.fromHtml to change the font's color of the two part of the String. E.g. String first = "<font color='#FF000000'>F</font>"; String rest = "<font color='#FFFFFFFF'>irst</font>"; setTitle(Html.fromHtml(first + rest)); ...
php,html,title,simple-html-dom
Put title inside quotation marks echo "<td title =".$shipTitles[$key]." >"; // Wrong Right is echo "<td title ='".$shipTitles[$key]."' >"; Without quotes, you will only see the word till the first space ...
that's because this character is (probably) not part of the Latin 1 code page. you should encode your page in Unicode (UTF-8 is what's usually being used) for it to work.
First, its <a> and not <select> and the handler is named click unlike it's DOM APi jQuery("a[title='Cinema']").click(function (){ alert("Works!!!); }); ...
android,header,spinner,default,title
You have to add "Select Category" string at the first location in your string array or arraylist. before setting it to spinner. String[] SpinnerItem=new String[]{"Select Category","First","Second","Third"}; For ArrayList- ArrayList<String> mArrayList=new ArrayList<String>(); mArrayList=getDataFromSqlite();// retrieve your data first. mArrayList.add(0,"Select Category"); Your database code - public ArrayList<String> getAllLabels(){ ArrayList<String> mArrayList=new ArrayList<String>(); Cursor...
angularjs,angular-ui-router,title
you have to use app.run() in your app.js file and assign your title in $rootScope.title . you can follow this code app.run(function($rootScope){ $rootScope.$on('$stateChangeStart', function(event, toState, toParams, fromState){ $rootScope.title=toState.data.title; }); }); after this then bind the variable in your html like this <title ng-bind="title"></title> I think it will helpful...
ajax,facebook,image,share,title
You need an individual URL for each individual piece of content that you want to share. Open Graph objects (and simple shared links “become” such, automatically) are identified by their URL (og:url). Now if your whole page is built on AJAX, you still need to create such individual URLs somehow...
php,url,replace,hyperlink,title
To call the getTitle() function on the third match, in the middle of the replacement string, you will have to use preg_replace_callback: function getTitle($Url){ $str = file_get_contents($Url); if(strlen($str)>0){ preg_match("/\<title\>(.*)\<\/title\>/",$str,$title); return $title[1]; } } function linkToHref($text){ $text = preg_replace_callback( '/(^|[\n ])([\w]*?)((ht|f)tp(s)?:\/\/[\w]+[^ \,\"\n\r\t<]*)/is', function($matches) { return $matches[1].$matches[2] .'<a href="'.$matches[3].'" target="_blank">' ....
Probably not. You may want to start NetBeans with --fontsize 10 or similar to save space. Also change toolbar to use small icons (right click in empty toolbar area to display its menu) or completely hide all its components. If I remember correctly they may have been a special switch...
html,.net,title,placeholder,resx
I have found solution to my problem. I have to use the following syntax to get words with spaces. <a title='@HttpContext.GetGlobalResourceObject(CustomersResource, "t_GoBackCustomer")'> The single quotes did the magic. For labels and controls we no need to use single quotes. But while using for html parameters like Title and PlaceHolder we...
matlab,image-processing,title,matlab-figure,figure
The reason why you're getting columns undefined is due to variable scope. When you define columns in SegmentationNew, columns is only available within the lifetime of SegmentationNew and only visible within SegmentationNew. Once SegmentationNew completes, column is no longer defined. I honestly can't make heads or tails of what SegmentationNew...
Exposing properties using static, just for the sake of exposing, may be considered as a bad design. You have different ways to achieve the same, for example, expose a method from the Window class which sets the stage title. public class Window extends Application { private Stage stage; @Override public...
ios,objective-c,uibutton,uistoryboard,title
set these two. 1. set Align controls of UIButton set Image and Text Inset of UIButton ...
If as @Robert Penridge suggests, you're using a SAS procedure which uses title statements for titling, use SAS Macro: data _NULL_; set my_dataset (obs=1 keep=rate_id); call symputx('mytitle',rate_id); run; title "&mytitle."; /* Insert chart code below */ This code gets the first observation from your dataset and sets up a macro...
Let's assume You have some columns and You want to change the header of first column MyDataGridView.Columns[0].HeaderText = "My title"; To change the font in header check this: // ("Arial", 20") means it will use Arial font with 20em size. dgv.ColumnHeadersDefaultCellStyle.Font = new Font("Arial", 20); ...
javascript,jquery,mouseover,title
There is no need to use an event handler, you can set the title programatically like $('div.divCheck label').attr('title', function(){ return $(this).prev('input').val() }); $('div.divCheck label').attr('title', function() { return $(this).prev('input').val() }); <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script> <div class="divCheck"> <input type="checkbox" name="language" class="checkSingle" id="language1" value="de - German" /> <label for="language1">de</label>...
Your HTML is invalid - you cannot have elements with the same id in the same page. Use a class instead <table> <tr> <td class="A">TextA</td> <td class="A">TextB</td> <td class="A">TextC</td> </tr> </table> Then your JS becomes a one-liner (assuming you want all elements to have the same title attribute): $('.A').prop('title', 'new...
This appears to be expected behavior. From, for example, the MDN docs A preferred stylesheet [...] is one that has a value of stylesheet supplied for the rel attribute, and any value at all for the title attribute. Here are two examples: <link type="text/css" rel="stylesheet" title="Basic styles" href="basic.css" /> <link...
The problem are the mssing single quotes: Your PHP will output <li id='somefoler'/'Test one two three' title=Test one two three>Test one two three</li> Which is not what you want. Try echo "<li id='$folder/$entry' title='$entry'>$entry</li>"; ...
Here is some code which seem to do what you are after; I once wanted to do something similar and it worked fine for me, hopefully it's the case for you. I put comments so it should be quite easy to follow/reproduce for your application. clear clc %// Generate dummy...
You could the title of the page using JavaScript as simple as document.title. <script type="text/javascript"> var title = document.title; </script> If you want to get the title of the page using jQuery, you could try this: $(function(){ var title = $('title').text(); }) Update The above can be applied, if you...
android,android-actionbar,title
Have your Activity implement the ActionBar.TabListener interface: class MainActivity extends Activity implements ActionBar.TabListener{ ... ... @Override onTabSelected(ActionBar.Tab tab, FragmentTransaction ft){ setTitle(tab.getText().toString()); } @Override onTabReselected(ActionBar.Tab tab, FragmentTransaction ft){} @Override onTabUnselected(ActionBar.Tab tab, FragmentTransaction ft){} } And voila! It works! There you go :)...
ruby-on-rails,ruby,ruby-on-rails-4,title
Any method accessible to the views directly has to go to the helper. Since you are trying to access this method in your layouts, put your code in the application_helper.rb file. All helpers are modules only. If you don't have the file, create one in app/helpers module ApplicationHelper def full_title(page_title)...
Inside page.php: echo '<script> document.title = "This is the new page title."; </script>'; How to dynamically change a web page's title? Enjoy !...
css,wordpress,hide,title,codex
from what i understand, you need to remove title only from blog page. the easiest way to do this with css is .blog .entry-title{display:none} where .blog is the class name of your blog page body. (you can get the body class name by inspecting elements.)...
ios,uinavigationcontroller,uinavigationbar,title,uinavigationitem
self.navigationItem.title will change the center title, and setting a button with title to self.navigationItem.rightBarButtonItem will change the right button title. And here's how I've changed the back button title. Note: this code must be used on the previous view controller (the one you'd be hitting the back button to return...
Since you want to use title value to add classes, than you can do it simply this way: $(document).on('ready', function() { $("[title*='animotion']").addClass(function(){ $(this).parent().css('overflow','visible'); return $(this).attr('title'); }).removeAttr('title'); }); <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script> <p><img src="http://placehold.it/350x150" title="animotion newClass new1" /></p> jQuery addClass method accepts class name(s) or a function. In both cases...
You should use double quotes " if you want to print variable without concatenating it in PHP string. In this case you can concatenate your variable with string: $img = '<img title="' . $datatime . '" src="time.png" class="time_icon" >'; ...
html,css,title,confluence,flying-saucer
The following works for me in Confluence 5.5. This will scale the supplied image to fit exactly the indicated page size (8.5" x 11" in my example below, although you can use other sizes, as well as units like "cm" and "mm" too). In either case, you will want to...
ios,objective-c,uinavigationbar,title
So hopefully nobody else foolishly runs into this weird error. For some reason the code in my 2nd TableViewController: - (BOOL)prefersStatusBarHidden { return YES; } caused the error...
uitableview,swift,title,navigationbar
It's actually really easy. All you have to do is implement prepareForSegue and use sender to create an instance of UITableViewCell. From there you can easily get the title of that cell and using segue.destinationViewController you can set the nav bar title of the subsequent view controller. import Foundation import...
javascript,jquery,html,tooltip,title
I wouldn't try and update the native browser tooltip if I were you, I would try something more custom like this: <html> <head> </head> <style> #last-update-title{ position: relative; margin-top: 20px; } #tooltip{ position: absolute; top: -20px; display:none; } #tooltip.show{ display:inherit; } </style> <body> <div id="last-update-title" onmouseover="showToolTip('show');" onmouseout="showToolTip('');"> Some Text here...
Sounds like you want the JToolTip class.
You can try to create a method in the parent class say: protected function setTitle($title){ $this->arr['title'] = $title; } and use it in the extended class this way: parent::setTitle("My title"); ...
You were fairly close, although that's not how you handle events in javascript and you forget the $ in front of your jquery calls: $(".ui-corner-all").on('click', function(){ var title = $(this).prop("title"); alert(title); }); ...
Do not use getSupportActionBar().setTitle(title); to set the title, if you have a custom Toolbar layout. Instead, assuming your XML layout looks like this: <!-- Toolbar --> <android.support.v7.widget.Toolbar android:id="@+id/main_toolbar" android:layout_width="match_parent" android:layout_height="wrap_content"> <LinearLayout android:id="@+id/main_toolbar_layout" android:layout_width="match_parent" android:layout_height="wrap_content" android:gravity="center" android:orientation="vertical"> <TextView...
You can simply try this : $array = explode('-', 'wordpress-title', 2); Then echo $array[0]; // output wordpress echo $array[1]; // output title ...
javascript,jquery,attributes,title,uncaught-typeerror
Yes, you'll want to make it conditional depending on whether you got a match from any given test. For instance, to make it work with when: if (when) $(this).attr("data-when", when[1]); ...which won't add the data-attr at all if there wasn't a match, or $(this).attr("data-when", when ? when[1] : ""); ....which...
The answer to this depends on how you're doing the share action. If you are using the linkedin.com website to post it, there is a crawler that hits the shared URL looking for OpenGraph tags to get that information, and if it cannot find those, it does it's best to...
Try using this style for your Activity: <style name="AppTheme" parent="android:Theme.Holo.Light"> <item name="android:windowActionBar">false</item> <item name="android:windowNoTitle">true</item> </style> But if you want to support anything down to 2.3.3 you have to put that style in the style.xml in the values-v13 resource folder. If it doesn't exist, just create it....
wordpress,woocommerce,title,products
A few more details relating to your parituclar setup are needed to give a proper answer. However, I'm going to assume you have everything at default. This is what you would need to add to the end of functions.php in your active theme folder: remove_action( 'woocommerce_before_shop_loop_item_title', 'woocommerce_template_loop_product_thumbnail', 10 ); add_action(...
You have: * { display: block; } <head> <title>HOME _ JWD</title> </head> Your css implicitly contains this too: head, title { display: block; } Do you see what you did? :) If you really want to blockify everything, you could fix it by writing: body * { display: block; }...
Your page should define its own title. But, if you really want to do it this way, here's a possible solution: whatever_page_you_load.php: define("PAGE", "WHATEVERPAGE"); include("header.php"); header.php: $page_names = array( "HOME" => "Home Page", "WHATEVERPAGE" => "Whatever Page's Name"; ); $title = "Default Title"; if(defined("PAGE") && !empty($page_names[PAGE])) { $title = $page_names[PAGE];...
ruby-on-rails,ruby,testing,rspec,title
The right syntax was: it "doit avoir le bon titre" do get :home expect(response.body).to have_title('Simple App du Tutoriel Ruby on Rails | Accueil') end Partly solved thanks to Siekfried and his link: RSpec & Capybara 2.0 tripping up my have_selector tests...
wordpress,title,subtitle,page-title
By default the page title becomes the title of the page followed by the website name. If you want to add custom title to your home page add this code to your funuctions.php add_filter( 'wp_title', 'override_title_for_home' ); function override_title_for_home( $title ) { if( ( is_home() || is_front_page() ) ) {...
You need to cast to NSDictionary and String because Swift does not know what type an array element is. let question = questionsArray.firstObject as NSDictionary let title = question.objectForKey("A") as String button.setTitle(title forState:.Normal) You could still do this on one line (with brackets) but it is more readable if you...
javascript,jquery,tooltip,title,alt
Do not use the title attribute then. Use data-title as the attribute name and access it with the $this.data('title') Demo at http://jsfiddle.net/gaby/62NT7/1/...
xcode,crash,title,nscoding,initwithcoder
Don't call [super init]. Call [super initWithCoder:] instead.
With Win7 x64, I can produce it when a linefeed is in front of the problematic characters. @echo off setlocal EnableDelayedExpansion set LF=^ title !LF!,bc ...
It seems like you have @ViewBag.Title in your MasterLayout.cshtml which contains the value for the <title> tag. You need to make sure that you set the Title property of the ViewBag in your controller. e.g. ViewBag.Title = "HomePage"; Then when the page is rendered you will have your desired title....
Magento sets title tag in two different places. First in Mage_Catalog_Block_Breadcrumbs inside _prepareLayout() method $title = array(); $path = Mage::helper('catalog')->getBreadcrumbPath(); foreach ($path as $name => $breadcrumb) { $breadcrumbsBlock->addCrumb($name, $breadcrumb); $title[] = $breadcrumb['label']; } if ($headBlock = $this->getLayout()->getBlock('head')) { $headBlock->setTitle(join($this->getTitleSeparator(), array_reverse($title))); } Content of $path variable will vary depending on how...
Yes, title is a global attribute: http://www.w3.org/TR/html5/dom.html#the-title-attribute The title attribute represents advisory information for the element, such as would be appropriate for a tooltip. On a link, this could be the title or a description of the target resource; on an image, it could be the image credit or a...
You can't use the sender for your needs. Because sender is the button you've clicked on and not the one you want to change the title of. So, you need to make an IBOutlet of your button like you did by creating your IBAction. Then you can call it like...
image,windows-phone-8,title,tile
Image control doesn't have any property to display text similar to Tile's title. You need to add other control to display the title, for example using TextBlock : <toolkit:WrapPanel> <Grid> <Border BorderBrush="AliceBlue" BorderThickness="1" Margin="12,0,0,0"> <Image Width="173" Height="173" Source=".\Assets\cinsiyet.png" Tag="img_deneme" Margin="0,0,0,0" x:Name="img_cins" MouseEnter="Image_MouseEnter" /> </Border> <TextBlock Margin="0,150,0,0" Text="Tile Title" Foreground="White"/> </Grid>...
To have your x axis labels in the same starting position, add hjust=1 or hjust=0 to the theme() elemet axis.text.x= + theme(axis.text.x = element_text(angle=90,vjust=0.5, size=15,hjust=1)) Your axis titles are not displayed because you have to scale_x_continuous() and scale_y_continuous() calls. Move the titles of axis to the same scale_... call where...
javascript,jquery,html,image,title
Since you're open to a jQuery solution, have a look at the following snippet while paying attention to the notes: $( document ).ready(function () { // Init images (note: This should preferably be done server side if you're parsing xml) for (i=0; i < 10; i++) { var a =...
Make sure your calling suptitle('') on the right figure. In [23]: axes = df.boxplot(by='g') In [24]: fig = axes[0][0].get_figure() In [25]: fig.suptitle('') Out[25]: <matplotlib.text.Text at 0x109496090> ...
wordpress,wordpress-plugin,wordpress-theming,title,wordpress-plugin-dev
create a plugin file and paste the code below... add_filter( 'wp_title', 'custom_title', 20 ); function custom_title( $title ) { return 'New title'; } ...
javascript,html,css,properties,title
Assigning this: document.title = money; Does a one-time assignment of the value in money to the document.title. Any further changes to money will not be reflected in the document.title unless you assign it again. If you are seeing undefined in the title after doing the above assignment, then that can...
This is fairly simple. First, give your container a text-align:center and your title a display:inline-block and position:relative. This will center your title and make it a block. Then, using ::before and ::after pseudo-elements, style and position lines at either side. I've found this to the the most beneficial method as...
You can use pure CSS by applying text-transform property: The text-transform CSS property specifies how to capitalize an element's text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized. #fullname { text-transform: capitalize; } Fiddle Demo...
javascript,title,space,decodeuricomponent
Wrap the output of decodeURIComponent(filename) in quotes. $(".intome").append( $('<img title="' + decodeURIComponent(filename) + '" src=' + dir + ' />') ); ...
"Content" in the context of HTML is not subjective. We are lucky enough to have a spec which defines everything, so there's no "point of view" to be had. The spec clearly defines every element's content model, which is defined as "A normative description of what content must be included...
ios,uiimage,title,uisegmentedcontrol
The official documentation for -setImage:forSegmentAtIndex: says A segment can only have an image or a title; it can’t have both. There is no default image. So, no, there is no way to do what you want using the image and title properties. However, there are a few options to accomplish...
php,wordpress,templates,visibility,title
*if the theme is not yours remember to use child theme if you didn't already. like people said here, you can remove the_title() from the template. but also consider to duplicate the template and create 2 versions of it, the first with title and the other without, that way you...
I'm not sure what exactly are you trying to do, but it seems you need to read on XSLT. First, you need to remember that everything needs to be added to an HTML tag so that it is displayed in the style or the place you desire. Second, you need...
asp.net-mvc,razor,parameters,title,actionlink
Why don't you use Resources for this: Add Resource LastNameTitle Your model will look like: public class Model { [Display(Name = "LastNameTitle ", ResourceType = typeof(Resources.Resources))] public string LastName{ get; set; } } Your View: <th> @Html.ActionLink(Resources.Resources.LastNameTitle , "Index", new { sortOrder = ViewBag.NameSortParm }) @Html.DisplayNameFor(model => model.LastName) </th> ...
To answer your question: <?php $pageTitle = "Pets:"; define("ANIMAL", "Dog"); $pageTitle .= ANIMAL; echo $pageTitle; // yields "Pets:Dog"; ?> But to be fair, I would do it with arrays, not with constants in this case. Something like this: <?php $pageTitle = "Pets:"; $animals = array('Dog', 'Cat', 'Bird', 'Super Cow'); echo...
html,twitter-bootstrap,title,wai-aria
ARIA-tags are used for disabled visitors of your site. It's very nice of Bootstrap, that they support it by default. Accessible Rich Internet Applications (ARIA) defines ways to make Web content and Web applications (especially those developed with Ajax and JavaScript) more accessible to people with disabilities. For example, ARIA...
I get the following message: Notice: Undefined index: title A: The element in your form does not have a name attribute. For example: <input type="text" name="title"> ^^^^^^^^^^^^ Plus, make sure your form does indeed have a POST method. I.e.: <form action="handler.php" method="post"> Just for argument's sake, you've a missing...
c#,android,licensing,title,dot42
Looking at the changelog of dot42 I read the following: Apps created with community license always get a "(by dot42.com)" postfix in their application name. Source: https://www.dot42.com/changelog.aspx @ Version 1.0.0.47, released January 15, 2013 So to answer your question, yes with the community edition, it stays because it is by...
javascript,jquery,image,get,title
First, don't use the same id for different elements, id must be unique Answer that we have reached after discussion $(document).ready(function() { $('a').each(function() { var _this = $(this); var href = _this.attr('href'); $.get( href, function(data) { var html = $(data); var titleNode = html.find('.title'); var imageNodes = html.find('.post-text img'); imageNodes...
javascript,image,highcharts,title
You need to set useHTML to true, and insert your image as HTML: chart.setTitle({ useHTML: true, text: "Testing" + " " + "<img src='../images/appendImage.png' alt='' />" }, { text: "This is a test" }); Working fiddle....