Hello
I have two tabled in my Mysql database
table1 has the all webpages in my network
| table1: (pages)|
|----------------|
| id | url |
|----------------|
table2 has two fields, which are the source page of the link and the destination page of the link
|------------------------...
So I want various aspects of my theme to change depending on the most recent post. Any idea how I could do it?
I would prefer it to be by using on of the tumblr custom {html tag} things, rather than javascript or whatever. Don't know if that's even allowed on tumblr either.
Theme Documents are here:
http://www.tumblr.com/docs/custom_th...
Hi
I'm reworking some site tracking for a site I'm working with. For the tracking we are currently using Google Analytics, which seems to be working fairly well. However, I'm having some troubles resembling the ones in this question, but it's old and no one answered, so I'm bumping a bit here. :)
Basically, I'm tracking two kinds of th...
I build a website focussing on loading only data that has to be loaded.
I've build an example here and would like to know if this is a good way to build a wegpage.
There are some problems when building a site like that, e.g.
bookmarking
going back and forth in
history SEO (since the content is basically not really connected)
so here...
I have an iframe that looks like this:
<iframe src="http://www.google.com" height=1000 width="500" id="myiframe"></iframe>
I want to create a link so that when I click on it, the iframe on the page changes.
How can I do that using jquery?
Is it related to jquery attr?
Thanks!
...
I have been playing around with git on my local machine and everything makes sense until it comes to a remote and multiple developers I start getting confused.
My goal is to have a "semi public" dev site/s that a group of 4 people can work on and push changes to the live site as they are ready. We need the dev site/s to be on the public...
function seems_utf8($str) {
$length = strlen($str);
for ($i=0; $i < $length; $i++) {
$c = ord($str[$i]);
if ($c < 0x80) $n = 0; # 0bbbbbbb
elseif (($c & 0xE0) == 0xC0) $n=1; # 110bbbbb
elseif (($c & 0xF0) == 0xE0) $n=2; # 1110bbbb
elseif (($c & 0xF8) == 0xF0) $n=3; # 11110bbb
elseif (($c & 0xFC) == 0xF8) $n=4; # 111110bb
...
I have an application that holds data referencing 300,000 customers. When a user did a search the result was often bigger than our MaxRequestlength would allow, we have dealt with this in two ways: We have increased our MaxRequestLength to 102400 (KB) and required the user to supply two letters of the first Name and two letters of the la...
Hello
according to wikipedia:PageRank
A probability is expressed as a
numeric value between 0 and 1. A 0.5
probability is commonly expressed as a
"50% chance" of something happening.
Hence, a PageRank of 0.5 means there
is a 50% chance that a person clicking
on a random link will be directed to
the document with the 0...
I was working as a freelance php developer for a while, and handled all programming aspects alone. Although I worked with a graphic desinger, all coding was done by me.
These days I get a job with a team to program some project.
So, I'm afraid of this new development. How to manage a team and divide the work, track the change.
I'll lo...
Hi, my project is a PHP web application. This applies to my test server (local), not production server! I am also the solo developer on this project (however, that may change in the very far future). Also, all my source code is committed to a repository and the production server gets the source code from the repository.
I do my develo...
Although I develop all of my company’s web-sites in .net, all of my personal sites are still in "Classic ASP". I'm always being pressured to move away from it... but it works! Why change?
...
I'm looking to add comments to my website. I've seen some great frameworks for forums (like phpbb) and for blogs (like wordpress). Is there anything like this for comment systems?
...
Does anyone know of an API that will return the description of a URL and a thumbnail image from that URL?
What i'm looking for is something similar to what facebook does where you paste in a link and it returns the page title, description and image.
I was hoping one of the URL shortening services did this, or even digg, but so far no...
I am evaluating web frameworks. The criteria is lightweight, secure, easy to learn and deploy. There're plenty, but I come up with the following short list,
web2py - the python version of "ruby on rails"
wt. - desktop version of web application
CGI/Perl - the old buddy
Have you worked with any of the above web frameworks and what's y...
Hi,
I got "dump" isp that always cached internet pages and its css for at least 1 day.
Although the css / js in the server changed, the presented css are not changed (i have been clear my cache everytime)
how to "tell" my isp not to cache some files like css and js ?
thank you !!
at the moment: i'm using proxy to check a under deve...
how would you handle a client who wants you to implement a website layout that looks horrible and is wrong in many many ways, when they absolutely think it is great, really "different" and cool and since you are a programmer, you don't know anything about design.
i have tried arguing, reasoning and not caring, but it pains me physically...
I'm sure there is a better to this. Any help will be greatly appreciated.
I want to pass an array to a php function that contains the argument and all the arguments are optional. I'm using code ignitor and am by no means an expert. Below is what i have been using so far:
function addLinkPost($postDetailArray) {
if (isset($postDetail...
I'm trying to preload about 200 images using the following:
var total_images = 0;
var loaded_cnt = 0;
var tempImg = new Object();
function precache_array(a,path){
for(var i = 0; i < a.length; i++){
tempImg[path + a[i]] = new Image();
tempImg[path + a[i]].src = path + a[i];
tempImg[path + a[i]].onLoad = image_loaded(a...
I am setting up some servers for website development. I want it to be organized in a fairly standard way. How do you organize your servers for development of relatively small websites, each with a little bit of unique code?
Some details I am concerned about include (but not limited to):
What distinct servers exist with respect to the...