I want to create a box like this with title:
Can any one please let me know if there is a default CSS tag to do this? Or do I need to create my custom style?
I'm using custom post types in WordPress 3.0 to manage 'courses' (or seminars, lectures, whatever term you'd prefer to have in mind).
Now for viewing a single 'course', the url structure is;
/course/course-name/
But for multiple courses?
/courses/category/category-name/
Or...
/course-category/category-name/
Or something entirely different?
How can I get my UIPickerView to apear on top of the TabBar?
http://bit.ly/aSFKYY
This is a TabBar Application and that NIB file contain 2 views
That I animate to show / hide instead of the keyboard, but the keyboard animates on top of all UIViews.
How can I accomplish this with my Custom View?
I have several controller/actions where no :id needs to be passed.
what I did with the first two was make a custom route defining the controller and action.
I thought that the default would allow me to create controller/action.xml by using respond_to in the controller, but that doesn't appear to be the right way.
How can I create controller/action URL's (some are .xml) without creating a special route with map.connect?
Is there a simple way to invert a WPF GridView so that items are bound to columns instead of rows? Or would it be necessary to write a custom view mode?
I have enabled blur on my window. I have some edit fields and some custom controls and I would not want these to be affected by the blur, they are semi transparent as a result. How could I only blur the main window itself, not its child controls (sort of like Chrome). Thanks
I currently have a view (Drupal 6 using Views2) that properly aggregates a custom content type (videos) and filters them for a page display. When I create a block display, it previews the results in live preview just great, but when i go to the page expecting to see the block it doesn't appear.
I'm fairly certain the argument I'm attempting to pass it fails because when I select "Display all results" for "Action to take if argument does not validate:" the block shows up on the page just fine.
Any advice definitely appreciated.
For a long time I used Courier New as default font for my code editor, until I got more into typography and found this new fixed-width font called Triskweline:
The font is beautiful, but unfortunately it works only at size 10pt.
This made me wonder: what (custom) font do you use for your code editor?
I am writing a document class for LaTeX and I want it to be generic. In this document class I redefine the \maketitle command to display a custom title page, and here I want to display some information, like the title, author, etc., but also some other informations. Here is how I display the title:
{\LARGE{\bf \@title}}\\
I'd like to create a new command that works similarly to \title or \author, how can I do that?
I have a Glassfish (3.1.2) cluster over 2 computers as nodes, with a mod_jk load balancer.
Are servlet instance variables replicated perfectly? If not, how do I make sure it is?
Are all actions, including method calls and disk writes, replicated perfectly? If not, how do I make sure they are?
These may seem like stupid questions, but I'm not seeking "load balancing" as much as I am seeking exact replication to enable future upgrading without any service interruption. How do I achieve this if it is not already the case?
I've had a look in the database, but have not been able to find it.
I'm talking about the caption, description etc.
I'm doing a custom gallery and I need to access this information.
So where does WordPress store this info?
Thanks
Hi,
I have a scrollview which has subviews one of which is a tableview. I have custom cells for the tableview. The contentview of one or more cells has buttons, labels. These buttons to get event fired. Can any one help me. I think the uiscrollview is blocking the event transfer. How do i resolve this.
--
Regards,
U'suf
Hey guys.
Circles are one of the basics geometric entities. Yet there is no primitives defined in openGl for this like lines or polygons. Why so? Its a little annoying to include custom headers for this all the time!
Any specific reason to omit it?
I cant manage to show on a page, on the left side the categories.
I selected for the page under Design - layout to 3 columns,
Right side shows fine but nothing on left side.
New to magento so i`m not sure in wich file in the template i have to look for.
Its a custom template installed so i got so far to:
app/design/frontend/default/f001/template/
but not sure now if to look under catalog or paeg folders
I have posted on the template creator's site, as well as Magento support, but no one has responded.
The CSS is not loading at all on the custom theme I have installed, which is supposedly compatible with the current version of Magento.
You can view the page here: shop.dearearth.net
This is a fresh installation of Magento and the theme, with a fresh database.
I have a feeling it should be a relatively quick fix.
Thanks for looking.
I have a winform in witch I have a custom LongPanel with textboxes.
In order to validate an eventually edited textbox when the user click somewhere out of textBoxY I use the following code:
Private Sub LongPanel_MouseClick(ByVal sender As Object, ByVal e As MouseEventArgs) _
Handles MyBase.MouseClick
_AttachedPanel.Select()
End Sub
In runtime application freezes at the "Select" line... I receive infinite panel Leave events... any idea why?
I would like to plot some image binary data on a grayscale matrix-like graph with custom values on axes. I'm using Perl on a Windows machine but I can't fine the right module to do this. I'm already using GD::Graph to plot other type of data but it seems unsuitable for this specific task.
I'm creating a custom ActionResult class and I need it to be able to operate on a UserControl. All of the examples I've found so far pass in the full path like so:
return MyResult("~/ControllerName/UserControlName.ascx", myModel);
But I'd like it to operate the same way as calling View(), i.e. I just pass in the name and MVC determines the correct route:
return MyResult("UserControlName", myModel);
Is there a way I can find out the correct route to the control without specifying it manually?
I'm using hook_block to create a block with the name of the custom module I'm creating.
I'm not being able to create a block without using myModuleName_block.
Do I need to do different modules for every different block I want to create?
I have a custom class and check that a property isn't 0x0 by doing:
if(myinstance.someproperty != nil){
//do something
}
However, even if someproperty is 0x0, I still go into the conditional. someproperty is of another class type. Is there some other way to check this?
I'm trying to wrap a div around an element (my 'template' div) by using jQuery's before() and after(). When I try to insert a closing after the selected element, it actually gets placed before the target.
Example:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>Div Wrap</title>
<script src="http://code.jquery.com/jquery-1.4.4.min.js"></script>
<script>
$('document').ready(function() {
var beforestr = "<div id=\"wrap\"><div id=\"header\">Top</div><div id=\"page\">";
var afterstr = "</div><div id=\"footer\">Bottom</div></div>";
$('#template').before(beforestr);
$('#template').after(afterstr);
});
</script>
</head>
<body>
<div id="template">
<h1>Page Title</h1>
<p>Pellentesque habitant morbi tristique senectus
et netus et malesuada fames ac turpis egestas. Mauris
placerat eleifend leo. Quisque sit amet est et sapien
ullamcorper pharetra.
<script>document.write('This script should still work and might contain variables. Please don\'t recommend concatenation.');</script>
Donec non enim in turpis pulvinar facilisis.</p>
</div>
</body>
</html>
The result is:
<div id="wrap">
<div id="header">Top</div>
<div id="page">
</div>
</div>
<div id="template">
<h1>Page Title</h1>
<p>Pellentesque habitant morbi tristique senectus
et netus et malesuada fames ac turpis egestas. Mauris
placerat eleifend leo. Quisque sit amet est et sapien
ullamcorper pharetra.
This script should still work and might contain variables. Please don't recommend concatenation.
Donec non enim in turpis pulvinar facilisis.</p>
</div>
<div id="footer">Bottom</div>
Why are my closing wrap and page divs getting placed before the target, when I'm trying to place them after() ? Is there an alternative way to accomplish this (keeping in mind I may need to call script functions within the template div)?
As I'm sure you're aware, best practices aren't what I'm going for here.
is there any way to know that form which path an application was installed.
for example I have firefox.exe in
D:\Downloads\App\firefox.exe
and when I install it, it is installed in
C:\Program Files\Firefox
but for some reason I need path from where Firefox was installed. that is "D:\Downloads\App\".
like if this path is stored in some registry value? or in some other system variables? is there any way to get that path? I would like to get that path and then store it in some text file
I have a vector of custom Struct that needs to be sorted on different criteria each time
Implementing operator < will allow only one criteria
But I want to be able to specify sorting criteria each time I call C++ standard sort.
How to do that?
Please note it is better to be efficient in running time..
Thanks
I use ack and I like it.
However from time to time I need to search for something in my code base and I want to ignore all the files residing in test directory. Basically all the files which have test in their absolute path should be not included in the search.
How do I achieve that?
I am willing to have a custom bash script. Something like
ack_no_test "application" - search for "application" in all files but ignore files residing in test directory