I know that HTML is viewed on the client side and PHP is on the server side. I guess I want to know why they use different things. Why doesn't the client just view a php file?
Hi guys,
I was wondering if it is possible to run transparent video? (the background should be something else, like a picture, or view, shown from the camera, etc.)?
Any idea if this is possible and how it's done? (should I use openGL, or smthn else)?
10x in advance,
Danail
I have a table view with a list of categories and each category (understand table cell) has a different icon.
I would like to use one big image (sprite) and render different part of the image (single icon) for each row.
Any efficient ideas...
Is there an easy way to do a find and replace on a string in every view and stored procedure in my SQL Server database.
I need to replace something like 'X United Kingdom' with 'X(UK)'.
I have a Customer class which has a representative field....this field is initially blank but when the user opens up the details page of the chosen customer, they'll be given the open of representing this customer by clicking on a link. The template layout I was thinking of is this:
<strong>Representative: </strong>
{% if customer.representative %}
{{ customer.representative }}
{% else %}
<a href="{% url representCustomer customer.id %}">Represent this customer.</a>
{% endif %}
All that remains is the view to effect this...this is where I'm stuck.
I want to create a listing view in which the record will be in this format(basically one record based on other, what approach i should follow) .
My table
Module1
Module1Feature
Module1Feaure2
Module1Feature3
Module2
Module2Feature
Module2Feature2
Module2Feature3
Basically Please Notice that the child records are based on the parent.
There is a website that my company uses that updates information about 3 specific things throughout the day. We use the information from 1 of them and what we are wanting to do is pull this information as it is added to their site and add it to a page of our own to view easier. Is this even possible? Can anyone point me in the direction of setting this up? It is all text that we want to pull.
I have a LinearLayout with fixed view. I dynamically inject images in it (ImageViews) but I dunno in advance how many of them will be inserted. I'd like to have a layout where images wrap and go to a new line authomatically when they exceed the available width of the father (LinearLayout)
how do you recommend I should move?
thanks a lot
I've written an app which contains a large textview for displaying notes. Is it possible to have the textview highlight any phone numbers or hyperlinks without underlining the entire view?
I'm trying to piece together a dynamic view that will give a list of all emails that are still being rejected.
Table structure:
EmailName - varchar(150) - An email address
StartRejection - Date - Day to start rejecting email
Duration - Small Int - Duration of rejection
IsIndefinate - Bit - Is the rejection 'non date range specific' but indefinate
Does it turn some managed objects into faults when there's a Low Memory Warning? Or must we do that manually by calling the -refreshObjects:mergeChanges: method which puts the affected managed objects on diet quickly? And...would that actually hurt? What if these objects are currently used by an NSFetchedResultsController to show up on a table view?
I'm making an AJAX call in my symfony project, so it has an sf_format of 'js'. In the actionSuccess.js.php view, I call get_partial to update the content on the page. By default it looks for the partial in 'js' format since the sf_format is still set as 'js'. Is it possible to override the sf_format so that it uses the regular 'html' partial that I already have (so that I don't have to have two identical partials)?
I'd like a timer class that allows me to call:
.start() .getElapsedTime() .stop() .reset()
Does Java have such a class, or do I need to use my own (which I've already written).
From a best-practice point of view, I should use the Java class libraries classes if they exist, but I'm not sure whether this one does.
Can anyone give me a link to the javadoc for this class, if it exists?
I am having a hard time getting video to play in an application that I am working on and I think the answer has to do with the views and view controllers. I have the flow depicted below. When the button is clicked, the audio from the video is playing, but nothing is displayed on screen. Anyone have any ideas?
-(IBAction) playMovie {
Play Movie Code
}
ViewController UIScrollView UIView UIButton - (playMovie)
I am trying to make a custom selection box for an image view I created and I am trying to use strokeRect: from NSBezierPath but it always seems to be transparent. Called the method set to set the color the blackColor and then also tried using olorWithDeviceRed:green:blue:alpha: but no matter what I have tried the rectangle created always seems to be transparent. Is there a better method to use to draw an empty rectangle?
I have a custom UITableViewCell that loads in a programmatically created UITableView that is pushed from another view onto a UINavigationController, why cant i specify the height of my cells? The other weird thing is that when i push the cell, the didSelectRowAtIndexPath:indexPath method isn't called.
When rotating a label, the text is rendered very ugly. Is there an convenient way to get the label aligned with the pixels? Maybe there is some way of rounding the transform of the view, so that it isn't misaligned?
I want to send
www.mydomain.com/approve/SomeFunkyVariable to
www.mydomain.com/home/index.php?option=com_content&task=view&id=574&Itemid=85&approve=someFunkyVariable
What is the rule for this?
Hi All,
I have set my status bar hidden in my Application.
[application setStatusBarHidden:YES];
I have added an UIView on the window as a subview at 0,0,320,40. But I am not able to get touches on my View ?
What is the problem ???
Thanks
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.
Need a ref to the window in which a view is inside (no matter how deep inside). Usually there is only one window in an iPhone app. How would I access that the most easy way? Is there something cooler than getting the app delegate to access the window?
I have a table view that gets refreshed two different ways. One is through a button and the other is when I call my refresh method, which is the same method that I use for the button, but for some reason, when I hit the button it works, but when I call it through a different class it doesn't.
Here's the code that I use to refresh the tableview:
Msqv *qv = [Msqv new];
[qv refresh:self]; //refresh is an IBAction that is used by the button
Hi
Complete novice question. I've used jQuery a bit, YUI not at all and know very little about it.
I work on a website thats IE specific, we're now looking at making it cross browser. jQuery seems great at hiding the differences between browsers from a javascript point of view. However in terms of css layout is it YUI that I should really be looking at?
thanks