|
Well surely ,
For that do revert me on navneet@nkwebart.net so that can get connected via email for further explanation regarding Coding as well as Development
Regards
Navneet k son
http://nkwebart.in
|
|
|
|
|
You could clarify things here(in discussion forum) instead of private mail. Because if you share the solution here, it'll help many others in future when they search similar things using search engines.
Besides, don't give him fish, just teach him "how to fish".
And don't post your email id in public discussion forum else spammers could mess with that easily.
thatrajaCode converters | Education Needed
No thanks, I am all stocked up. - Luc Pattyn
When you're wrestling a gorilla, you don't stop when you're tired, you stop when the gorilla is - Henry Minute
|
|
|
|
|
Go with Bootstrap[^]
thatrajaCode converters | Education Needed
No thanks, I am all stocked up. - Luc Pattyn
When you're wrestling a gorilla, you don't stop when you're tired, you stop when the gorilla is - Henry Minute
|
|
|
|
|
Thanks Thatraja , i appreciate ur rply but i don't think that bootstrap is useful for me at fresher level...
|
|
|
|
|
I often do a quick jump into a topic at W3C Schools^
Since they also usually include a reference page, it works as a combination tutorial/reference.
References are not always 100% complete, but once you are refreshed, you can use proper web searches to answer more difficult questions.
Note the menu bar for links to javaScript, php, CSS, etc.
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein | "As far as we know, our computer has never had an undetected error." - Weisert | "If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010 |
|
|
|
|
|
Hi Everyone,
I am new to web development and I have simple question regarding Template 1.4.1.
I have 7 regions as shown below. My default controller renders those regions in template and it was good (See index method below). However, I would like to see the same layout, but with different content. Exactly the same except for content region.
I am wondering if there's a way I can achieve what I want without writing again the same command in index method. A one liner code probably or two. Can you show me how?
I tried the override in write_view and I can't make it work or I misunderstood the use of it. See add function below.
[code]
$template['default']['regions'] = array(
'headerstyles',
'header',
'banner',
'rightfilter',
'content',
'scripts',
'footer',
);
[/code]
Index method
[code]
public function index()
{
$this->template->write_view('headerstyles', 'headerStyles');
$this->template->write_view('header', 'header');
$this->template->write_view('scripts', 'scripts');
$this->template->render();
}
[/code]
Add function. addItem is existing and elements in addItem is rendered but without the other regions.
[code]
public function add()
{
$this->template->write_view('content','addItem','',true);
$this->template->render();
}
[/code]
Thank you very much!
|
|
|
|
|
I'm losing my mind here, my background is largely writing Windows Services/Console Applications etc, but recently I have got into Web development, and am currently working on a project using Twitter Bootstrap.
I'm trying to make the Navbar bigger (height-wise) and vertically center the elements, and nothing is working! No matter what I change, the Navbar looks exactly the freaking same.
My starting point is the carousel template here and haven't changed much yet appearance wise (mainly colours). What would I have to change on that template to achieve this effect, I can post code if asked to.
Cheers
|
|
|
|
|
When I started using bootstrap I found it difficult to manipulate also. I hear your frustration! What I did was start using firebug with firefox as an aid so I could click on the page and see what element I was dealing with then try and find that element in the css file, see what the settings were and change them to see what happened: to see if it was getting me where I wanted to go. I am sure chrome or other browsers must have something similar so you can view what the existing css is and try stuff. Search the bootstrap css file for .navbar and you will see a min-height setting. Try changing that and see what happens. Find the navbar container and change the padding-left...investigate and try things.
vbmike
|
|
|
|
|
I need to get the userId from URL and then build the href dynamically.
For example in the URL the userId is Tom
then I want to build the href as
../settings/userIdSetting.htm?userId=Tom
and assign it to <a id= "userSettingId" href="../settings/userIdSetting.htm?userId=Tom">User Account </a>
Is this possible.
Thanks in Advance,
Kim
<!DOCTYPE html>
<meta charset="utf-8">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Sortable Table</title>
<script language="javascript" type="text/javascript" src="../js/common.js"></script>
<script language="javascript" type="text/javascript" src="../js/jquery-1.9.1.min.js"></script>
<script language="javascript" type="text/javascript" src="../javascript/d3.v3.min.js"></script>
<script language="javascript" type="text/javascript" src="../js/shCore.js"></script>
<script language="javascript" type="text/javascript" src="../js/shBrushJScript.js"></script>
<link type="text/css" href="../css/shCoreDefault.css" rel="stylesheet" />
</head>
<script>
<pre lang="xml">// get the userId from URL
var userId = getUrlVar('userId');
function putUserId() {
document.getElementById("userSettingId").innerHTML = "../settings/userIdSetting.htm?userId=" + userId ;
}
</script>
<body onLoad = putTenantId()>
<h2>Server Settings</h2>
<!-- Need to get the userId from URL -->
<a id= "userSettingId" href="../settings/userIdSetting.htm?userId=Tom">User Account </a>
<br/>
<br>
<hr>
</body>
</html></pre>
|
|
|
|
|
would want it in PHP?
if yes:
<?php
$userId = $_GET['userId'];
?>
<a id= "userSettingId" href="../settings/userIdSetting.htm?userId=<?php echo $userId; ?> >User Account </a>
This should work
|
|
|
|
|
how do I create a prototype for my business plans
|
|
|
|
|
By doing research and asking proper questions. Try your local chamber of commerce or other business association.
Veni, vidi, abiit domum
|
|
|
|
|
Do Google search with proper keywords like "Mock-up" or "Prototype"
thatrajaCode converters | Education Needed
No thanks, I am all stocked up. - Luc Pattyn
When you're wrestling a gorilla, you don't stop when you're tired, you stop when the gorilla is - Henry Minute
|
|
|
|
|
For creating a prototype for your business the most basic and the most important thing is to start with your industry and contact some person who can build something for you.
Do lots of research by using internet, social sources etc. and build a plan what you want to do and then execute your plan in the right direction.
|
|
|
|
|
Hi,
I am adding multiple og:image in my meta tags. How facebook and other social networking will pickup the default image? how can I force a specific image to be the default image?
<meta property="og:image" content="http://www.website.com/images/logo/pic1.png" />
<meta property="og:image" content="http://www.website.com/images/logo/pic2.png" />
<meta property="og:image" content="http://www.website.com/images/logo/pic3.png" />
Thanks,
Jassim[^]
Technology News @ www.JassimRahma.com
|
|
|
|
|
I'm doing a job currently (MVC5), and the client wants a blog as a part of their website.
I've never had to do this before, any advice? I could probably roll my own fairly easily, but it wasn't too long ago that I thought the same about a CSV parser.
Is there an industry standard way of dealing with this sort of scenario?
Thanks
|
|
|
|
|
|
Hi,
I would like to ask which meta tag standard to use for my web project? is it better to have both open graph and dublin core? or open graph is enough?
what's your advise?
Thanks,
Jassim[^]
Technology News @ www.JassimRahma.com
|
|
|
|
|
Hi,
I have an offline html page which references a local js file.
The js file is auto generated and contains big amount of data (600MB - Aiming for more).
The problem is that the web browser is failing during the load of the page - Any maximum size?
The basic structure of the js file is a single object with multiple arrays in it.
From readings, I initially though that the browser's parser is failing so I changed the structure to be something like
var theBaseObject = {};
for n times : theBaseObject.arr1.push(...)
for j times : theBaseObject.arr2.push(...)
etc..
rather than
var theBaseObject = {
arr1 = [{...}, {...}],
arr2 = [{...}, {...}],
and more arrays...
};
Still won't load.
There shouldn't be any server communication, just static script data.
So I would like to hear any approaches you think I should take instead what I already have in order to fix the problem.
I would also like to better understand what is the cause of this.
Thanks!
|
|
|
|
|
|
Hi,
I am trying to include a page from my website into an email. I tried the following:
$body .= file_get_contents('http://www.website.com/profile.php?id=' . $_SESSION["member_guid"]);
but receiving the email without the page?
is the above code correct?
Technology News @ www.JassimRahma.com
|
|
|
|
|
Have you tried embedding an in the page?
It's not a universal solution, but, as you can gather from the link observations, there are security issues.
<a href="http://www.campaignmonitor.com/blog/post/3219/do-iframes-work-in-email/">http://www.campaignmonitor.com/blog/post/3219/do-iframes-work-in-email/</a>[<a href="http://www.campaignmonitor.com/blog/post/3219/do-iframes-work-in-email/" target="_blank" title="New Window">^</a>]
<b></b>
<div class="signature"><br><br><table><tr><td><font color="blue"><i>"The difference between genius and stupidity is that genius has its limits."</i> - Albert Einstein</font></td></tr><tr><td><font color="red"><i>"As far as we know, our computer has never had an undetected error."</i> - Weisert</font></td></tr><tr><td><i>"If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure."</i> - Balboos HaGadol Mar 2010</td></tr></table></br></br></div>
|
|
|
|
|
Hi,
I am having an error in Google webmaster tools.
The error is:
We were unable to read your Sitemap. It may contain an entry we are unable to recognize. Please validate your Sitemap before resubmitting.
The error was occured when I added the following url in the sitemap.xml:
<url>
<loc>http://www.xoompage.com/browsejobs?country=AF&category=ALL</loc>
<changefreq>daily</changefreq>
</url>
Technology News @ www.JassimRahma.com
|
|
|
|
|
|