A little fun with Python's turtle module drawing a number of random stars in the dark sky.

Member Avatar
Member Avatar
+2 forum 3

Hi everybody. I have a page with some post's title in it. I have put every title in an <a> tag. I want to click on each title and enter into an other page (single-post-page.php) to see the content of that post's title. The script of that page (single-post-page.php) should get that post's id when i click on the title's link to send it to the db and get that post's content to echo on the page. But my problem is that how i can send post's id to that (single-post-page.php) page by clicking on each title's link?

Member Avatar
Member Avatar
+0 forum 6

Ladies and gentlemen, I've been studying SEO and writing articles consistently for well over a year now and there are a ton of topics that still perplex me. One of them in particular is the "focused" keyword element in combined with the title tag, the description tag, H1 and H2 tags, etc. But today I wanted to focus on the actual element of the title tag. For the sake of an example, I'll provide a brief about a recent article I covered. The article (and the title tag) was called: "A Sleeping Fan Sues MLB and ESPN". The focus keyword …

Member Avatar
Member Avatar
+0 forum 10

<script> function a(){ var filename="test.txt"; </script> <img src="img/test.png" title="?"/> How to get the value of "filename" in "title"?

Member Avatar
Member Avatar
+0 forum 6

Hello guys I want to create something like SEO link i have website with three pages, but the header is the same **header.php** <!DOCTYPE html> <html> <head> <style> .active{ background-color: #365214; } ul{ display: inline; } li{ display: inline; } </style> <title></title> </head> <body> <ul> <li><a class="active" href="index.php">HOME</a></li> <li><a href="a.php">ABOUT</a></li> <li><a href="s.php">SERVICES</a></li> <li><a href="c.php">CONTACT</a></li> </ul> **footer.php** </body> </html> index.php <?php include("header.php"); include("home.php"); include("footer.php"); ?> what I need is when user click on any link on header it changed the title of page dynamically <title></title> and applying .active class to current page link.

Member Avatar
Member Avatar
+0 forum 2

am new to php any one know about to display dynamic title per pageand also to display meta keywords and description.how to do that please give some idea or you have any codes share with me

Member Avatar
Member Avatar
+0 forum 4

dynamic title,meta keywords and description.. manually i created one page in that i add some title,keywords and descriptions based on category(i.e like home,about us,contact us etc)in backend, and i have some pages like home.php,aboutus.php etc in front end. so if i click home(home.php) that title should display which i entered for category home same like i have to display in every page based on category. how to do index.php if(isset($_POST['submit'])) { $catagory = $_POST['catagory']; $title = trim(ucwords(strtolower(mysql_real_escape_string($_POST['title'])))); $description = mysql_real_escape_string($_POST['description']); $keywords = mysql_real_escape_string($_POST['keywords']); $sql = mysql_query("INSERT INTO `seo_title`(Catagory,`title`,`description`,`keywords`) VALUES ('$catagory','$title','$description','$keywords')"); if($sql) { echo '<script>alert("Inserted Successfully"); window.location="seo_title.php";</script>'; } } my input …

Member Avatar
+0 forum 0

I was thinking if it would be possible to create a JFrame, and make the title of it to change, such as make the title work as a counter that will display some text like: The window was opened for 1 second. The window was opened for 2 second. The window was opened for 3 second. The window was opened for 4 second. The window was opened for 5 second. The window was opened for 6 second. The window was opened for 7 second. Here is the code I have so far: import javax.swing.JFrame; class WindowFrame { public static void …

Member Avatar
Member Avatar
+0 forum 5

Hello, Im messing with processes for a project that Im doing, so if I detect that the specific process Im checking changes the title containing a specific word like "Hello" I will kill the process and start it again. Im doing this with a timer so every X secs/minutes it checks for the title: Process[] processPads = Process.GetProcessesByName("notepad"); foreach (Process processes in processPads) { if (!processes.MainWindowTitle.Contains("Untitled")) { processes.Kill(); Process.Start("notepad"); } } That's what I have and works and everything but when I click anything on the menu like "File/Edit/Format/View/Help/etc" If I click any of those notepad gets killed and it …

Member Avatar
Member Avatar
+1 forum 5

Hi there, I have a classified website, built with custom PHP code. The problem is that the title of the entire site is the same. Attach files **index.php** and **pOffers.php**. Please give ideas on how to call from database the title of the listing. Tell me if you need more information. http://dox.bg/files/dw?a=13b03f9f9c - index.php http://dox.bg/files/dw?a=67ec789d73 - pOffers.php

Member Avatar
Member Avatar
+0 forum 8

I am trying to make this table behave. I want it to stay within 80% of the page. I want each column to be a fixed width. I want it to show all without scrolling right. Its fine if it gets super long. I also want the title bar, with the column names... to always be on top, maybe they call that floating.. idk Can someone PLEASE help me clean this up ? Below is the CSS file... body { margin:10en; padding:0; height:100%; width:80%; text-align: center; margin-left: auto; margin-right: auto; } #container { min-height:100%; position:relative; height:100%; } #header { background:#009900; …

Member Avatar
Member Avatar
+0 forum 3

hi all, I want to update title block attributes of a dwg file using vb.net.please give me the code of this. thank you in advance.

Member Avatar
+0 forum 0

Hi I find it hard to define the** job title **for this job. On the one hand this is a client side developer, but on the other hand the job responsibility's are much more then that. can you help me define a job title for those responsibility's at our Operations Department? * Testing in client site level a new cms systems candidates for the organization. * support for the cms in client side and the contact men between the organization and the system provider of the cms (update versions etc...) Implementing and developing technological solutions such as: a. Survey system …

Member Avatar
Member Avatar
+0 forum 2

void doc::add_title() { doc d; fstream f; int med_lic,flag=0; char new_title[20]; cout<<"\n\t\t\tADD NEW DOCTOR TITLE\n"; cout<<"\nEnter the Doctor's medical license number :\t"; cin>>med_lic; f.open("doctors.da t", ios::binary|ios::in|ios::out); while(f.read((char*)&d,sizeof(doc))&&flag==0) { if(d.ret_med_no()==med_lic) //d is an object of class doc { cout<<"\nEnter the new title:\t";//ret_med_no() is an accessor function used to return a value used to find a record. gets(new_title); strcat(title,new_title);//title is a private member of class doc.new title is to be added next to this one. int pos=(-1)*sizeof(doc); f.seekp(pos,ios::cur); f.write((char*)&d,sizeof(doc)); flag=1; } else f.write((char*)&d,sizeof(doc)); f.close(); if(flag==0) cout<<"\nRecord not found.\n"; } } # The concept # This function is a part of the program …

Member Avatar
Member Avatar
+0 forum 1

I need a clarification regarding keyword repetition in title tag The question is how many times a keyword should repeat in the title tag, for example my keyword is [B][COLOR="Red"]Second hand Car for sales[/COLOR][/B] and I target this single keyword for a page. <title> Second hand Car for sales – Website Name</title> Is it enough or I need to repeat the keywords another time?

Member Avatar
Member Avatar
+0 forum 5

Hi Friend's I need a clarification regarding How Google calculate relevancy when they give results For example when I searching in Google.com for the keyword Italian restaurants in New Jersey When I look at the result in Google SERP the words like FOOD, DINING in title and description also in BOLD so can anyone explain how Google calculate relevancy? So that it will helpful for me to frame the title tags.

Member Avatar
Member Avatar
+0 forum 2

Hi Below is the title which I currently placed for my page which is only 63 characters [COLOR="Red"]SEO Company in Chennai, India, Professional SEO Company Chennai[/COLOR] But when I saw my website in Google, title tag of my site was display like below [COLOR="Red"]SEO Company in Chennai, India, Professional SEO Company ...[/COLOR] I know that Google will display only First 65 characters of title tag, more than that it doesn't consider. But my title tag was only 63 characters. What was the problem with my title tag? Why Google doesn’t display the full title tag?

Member Avatar
Member Avatar
+0 forum 1

Well when I run my program the bar at the top says C:\programing\C++\Test\Test.exe (<<just an example) How do I change this? And how do I make the console window look more XPish (I heard it was called luna). Answer the title one first please. I wnt this too be all from a Console app no WinPrograming.

Member Avatar
Member Avatar
+0 forum 8

Hi everyone! i have a question if someone know how can i check with a VB application if another programs window is minimized or maximized? example i would make a simple VB app that could while running check with a timer if "MS Paint" for example was maximized and check for changes to when ever it got minimzes to the taskbar. is this possible? i tryied to find answer many places on the net but still nothing that does this. thank you for any help on this!

Member Avatar
Member Avatar
+0 forum 2

Hello all. I'm producing a DIY multilingual site. I'm using a templating engine (rainTPL) and my own static language files (php arrays). In these files I not only have the page strings but also the meta tag and title contents. I'd just like to know if you think this is a bad idea. The 'current language' is set via a session variable not a querystring, so urls are identical, no matter what the current language. So, will SEO be a problem? There could be a load of possible title and meta tag alternatives for the same page, depending on the …

Member Avatar
Member Avatar
+0 forum 4

forums, can any please help me with this, im baffled: [url]http://elneco.biz/idk.html[/url] i talked to my hosting service, they have NO idea.... thank YOU for looking into this -jaime

Member Avatar
Member Avatar
+0 forum 2

are pictures displayed next to your post and your own title like "newbie" or java addicts "posting maven" only for admins or are they anyone above a certain number of posts, if so how many posts?

Member Avatar
Member Avatar
+1 forum 2

hey, it has been a couple of months since i have been here, and let's get strait to the point. someone told me you can change the page title of a dynamic link with the .htaccess file. for example i have a page. [url]http://www.mywebsite.com/page.php?id=1[/url] i include this page for different links for example: about us, contact us, links page and home page on the foother of the page. all the text is comming from the database and the title is static. so everywhere i have [url]www.mywebsite.com[/url] as title. is it possible to change the title from each page? like: [url]http://www.mywebsite.com/page.php?id=1[/url] …

Member Avatar
Member Avatar
+0 forum 1

I am trying to make the page title the same as the gallery title on my site. This is my method, but it doesnt work. on the page after I call the title from the database: [CODE]$pageTitle = $row['title']; //page title $page = array(); $page['title'] = 'Gallery - $pageTitle';[/CODE] Then in my header: [CODE] <title><?php echo $page['title'];?></title>[/CODE] But my page title is just the url. How would I get this to work?

Member Avatar
Member Avatar
+0 forum 4

I want to be able to have a Textblock set to a certain width and height so it can contain two lines of 36pt font. I have accomplished this with word wrap, but it can still overflow. Is there anyway to make the font size shrink when there is an overflow?

Member Avatar
+0 forum 0

In some large PHP ecommerce websites creating dynamic meta and title tags on each page is really difficult. Is there any PHP code which can call a function and retrieve data from database to fill the title and meta by comparing the url of the page.

Member Avatar
Member Avatar
+0 forum 1

Hi, I have a question for all you brilliant daniweb joomla developers (mean the "brilliant" sincerely) ... and it's probably a simple one for you. I am using the latest joomla and a template a Siteground template (siteground-j15-116). Can I replace the Site Name that appears in the upper left hand corner with a company logo? And ... can I make that logo clickable? How do I do that? I've attached a jpg of the upper left hand corner of my site. Thanks so much for your kind help. Linda.

Member Avatar
Member Avatar
+0 forum 2

Hey DaniWeb community; I am trying to create a web page that pulls its settings from a file called settings.xml, and apply them to the web page. The title is the tag I want to change now, but my code is not working. Here is the code: [CODE=PHP] <?php //Open and store settings data into array $settings = "settings.xml"; $setHandle = fopen($settings, 'r'); $lineCount = count(file($settings)); $i = 0; while (!feof($setHandle)) { $line = fgets($setHandle, 4096); if(strpos($line,"<indexTitle>")) { //Look for indexTitle tag $indexTitle = $line; //Set indexTitle as the current line $indexTitle = str_replace("<indexTitle>", "", $indexTitle); //Strip both indexTitle tags …

Member Avatar
Member Avatar
+0 forum 3

Hello, I would like to be able to add 'n' columns programmatically and SET THEIR TITLE as I add them. I have 2 questions: 1. How can I change the title? (not by seting a model to my table but just 'changing a property' - if possible)? 2. Is there an easiest way of adding columns than what I did below? (e.g.: in C# I find very easy methods of adding columns at the end of a listView or after a column by index). [code] //'txt_n' is a textfield defining the number of columns I want to add when I …

Member Avatar
Member Avatar
+0 forum 4

The End.