I understand that there are already alot of web server out there.
But i feel like creating one for learning purpose.
Is it something i should try to figure out and any guides or tutorials on this?
We have an issue with rolling out content types with features. How does one roll them out to the SharePoint farm and update the database at the same time. Right now, we cannot figure it out. Is there something that has to be done custom?
I have some code:
- count = 0
- @clients.each do |client|
%div{:class => "grid_2#{(" alpha" if (count % 3) == 0) || (" omega push_2" if (count % 3) == 2) || " push_1"}"}= link_to h(client.name), client
- count += 1
I want to output an opening div tag right after the each statement if the (count % 3) == 0 and out put the end tag at the end of the block if the (count % 3) == 2 but I can't figure out how to get HAML to do this. Any ideas?
Hi,
I have been trying to figure out how to use the jQuery BBQ plug-in.
I have been able to add it to my site by copying the code from the site but I'm seeing that if I have a form in one of my tabs, I can't post any of the results successfully.
Has anyone used this plug-in and gotten used to its functionality? I need help figuring out where to input my php code for form handling and have the results returned the page loaded in the tab.
So I am building a site for a client. The problem is the menu I made doesn't work on IE. Here's the site: http://robertnogueira.com
You'll see that the topmost menu isn't where it is supposed to be..
I know this could be a very simple problem to fix. But since I am new to web development I really can't find a way to fix it...
Please help me figure it out..
Thanks!
Hi I am trying to achieve the same effect as it is on hover on my fiddle,
I would like to use jquery click/toggle to expand the content instead of seeing it on hover
I am trying the basic addClass with jquery/css but somehow it's breaking off and cannot figure it out how to work properly
Would appreciate any help or advice on the following, thanks a lot in advance,
here is the fiddle i created with the jquery I am using
$(document).ready(function(){
$(".gamewrapper").click(function(){
$(".gamewrapper").addClass("expand");
});
});
Thanks
How do I get shortcodes to process properly in custom fields?
I've tried using the code below, but I cannot figure out where to place it ("button" is the name of the field):
<?php
if ( get_post_meta($post->ID, 'button', true) )
echo do_shortcode(get_post_meta($post->ID, 'button', $single = true));
?>
As of now, the shortcode is working in the sense that the button is displaying, but the shortcode text is displaying where the "buy now" button is supposed to be. See screenshot:
http://i.imgur.com/41vsr.png
I am in need of some help with trying to figure out how to go about checking the users session and seeing if they are still logged in or not.
The problem being is because i have a static page that pretty much loads everything into "tabs" using jquery. So when the user navigates the page, it really never leaves that same page they started out on. Hints my problem in trying to determine if they are still logged in or not when they click on update their information on their profile or whatnot.
Hi, been playing with this for a few hours and can't figure it out.
jsFiddle example here.
Basically I want this to show on hover, and click it to toggle whether it is displayed or not. I thought this was the way to do it with display:block;, but I can't get it to work.
Thanks for any help.
Hi,
I would like to know following: I added the folder "Graphics" into my project and placed one BMP to it. Now I would like to load the image from my code, but I cannot figure out how. I know its simple with resources but is there a way without adding the image into resources? Thanks
Hi, i am building a context menu for a WPF c# application and just for simplicity's sake, if i have text and then i add an image, the text is always aligned at the top of the menu items cell and i cant figure out how to align it to the center. i have tried the veticalalignment property and veticalcontentalignment property but they dont help.. any ideas?
I have a C# List, that is filled from a database.. So far its only 1400 records, but I expect it to grow a LOT.. Routinely I do a check for new data on the entire list.. What I'm trying to figure out is this, is it faster to simply clear the List and reload all the data from the table, or would checking each record be faster..
Intuition tells me that the dump and load method would be faster, but I thought I should check first...
Dear All,
Any help would be appreciated since I really can't figure out what happen.
I made some PHP scripts that are working normal locally, but when I upload into PLESK suddenly the code inside the tag is not being read and the same goes to the HTML code below it (only the html code that is above the php tag is being read).
Thanks before for all your help.
<area shape="poly" coords="63,10,64,38,89,37,91,10" class={"strokeColor:'0000ff',strokeWidth:5, fillColor:'ff0000',fillOpacity:0.6}" href="#" id="x1">
There is a imagemap in my html and I want to dynamicly add a new configuration "alwaysOn:true" to the class attribute.
$("#x1").click(function(){alert(8);})
I am newbea I can add click listener to it but cannot figure out how to add config option
How can I do that with jquery?
I have two buttons which call the same function. That functions signature is
- (IBAction)eraseTextField {...}
I would like to figure out what button called the function. So I would like for the functions signature to be something like
- (IBAction)eraseTextField: (id)sender {...}.
Is there a way for the system to know to send the id of the calling object to a function that it calls? Thanks for the help.
http://www.ika-world.com/search.php?view=weltkarte
See link for example.
Image is a PHP created PNG image. When viewing just the image, then no link actions are present.
I cant figure out how the link actions are added. Please help.
I would like to make sure if a textbox has any content at all, that jQuery can show it's parent (an <li class="hidden_dedication") element and set add a class of 'shown'. I'm pretty sure that it should be something like this, but cannot get it to work:
if ($('li.hidden_dedication input').val() !== null) {
$(this).parent().show().addClass('shown');
}
I cannot figure it out.. any ideas?
Many thanks
Two (hopefully quick) questions about LaTeX:
How do you number select functions? I'm working in a documentclass{article}, if that matters. I want to have certain functions numbered such as
function1
function2 (1)
function3
function4 (2)
How do you make a sign to evaluate an integral? I know how to do brackets, but is it possible to only make one straight light to the right of the function with the bounds of integration? I can't figure out how to do that.
I want to check my database for records that I already have recorded before making a webservice call.
Here is what I imagine the query to look like, I just can't seem to figure out the syntax.
SELECT FROM (1,2,3,4) WHERE id NOT IN table.id
Is there a way to do this? What is a query like this called?
Hi
I need to change the font color on the first link.
<a href="/default.aspx" class="content">Frontpage</a>
<a href="/default.aspx" class="content" id="product_randomnumber_link">Frontpage</a>
But I just can't figure out a way to only select the first a.
while restoring some data i am displaying a activity indicator..but i want the background image to become dull or dim a bit so that the focus is on activity indicator..i have seen that in some applications but cant figure out how to achieve that??
I've been trying to figure out the syntax for an if / else if statement in jquery, but googling gives me mixed messages... There are some sites that say I need a plugin, and others that suggest that it's already possible. Trying those suggestions give me jquery errors in the jquery.js file, so I'm wondering, do I need a plugin or not? Does someone have an example of an
if () {
//do something
}
else if () {
//do something else
}
else {
//do something
}
in jquery?
what is the best way to append data onto a file download? I figure that i can make my own class that implements InputStream and just consolidates two input streams (the file first, my additional data to append second.) but is there an existing view class that i can use to just return an InputStream or will i have to roll my own view class as well?
Trying to fire off (trigger) a click event. Its easy to do in jQuery, but cannot figure out how to set the coordinates of the event and send them along.
Essentially, I need to trigger a click at a specific location (which is calculated prior to the trigger() call).
Any way to do this (in jQuery or otherwise)?
Thanks -