I have a multi page document and the home page links to other pages without a hitch however if I try to link to another page from the content of a page it does nothing, the link is just dead. same on mobile and desktop. Here is the code for the whole of page 4 (the page where I am trying to insert these links) My document has 7 pages in total. The first issue is on line 16, my link is:
<a href="#webdesign">
however this does nothing even though I have a page called 'webdesign'
<!-- Start of fourth page -->
<script>
$(document).on('click', 'a.webdesign', function () { $.mobile.changePage('#webdesign'); });
</script>
<div data-role="page" id="services">
<div data-role="header1">
<div align="center"><img src="http://www.magnetikmedia.co.uk/m/images/magnetikmedia_header.png" width="90%"></div>
</div>
<div>
<div align="center"><img src="http://www.magnetikmedia.co.uk/m/images/services_banner.png" width="100%"></div>
</div><!-- /header -->
<div data-role="content">
<div data-role="collapsible-set">
<div data-role="collapsible" data-collapsed="true">
<h3>Website Design</h3>
<p>We offer a full website design service whether you are looking for a basic, low maintenance site to create your online presence, a responsive site to attract more mobile browsers or an advanced, dynamic e-commerce site to power your business to the next level. We also offer a website content management service so whether you need any information editing or amending your current site or would like a page or two adding then we can do this for you. Read more about our website design services</p>
</div>
<div data-role="collapsible" data-collapsed="true">
<h3>facebook Development</h3>
<p>The most striking part of any facebook business page is the cover image. This, along with your profile, can make or break a facebook page. We design custom cover images perfectly suited to your industry and business to really enable you to stand out and make visitors want to 'like' you! Read more about facebook timeline design</p>
</div>
<div data-role="collapsible" data-collapsed="true">
<h3>twitter Design</h3>
<p>We can create custom backgrounds for your Twitter pages that can incorporate your logo, contact details or, in fact, anything you like. This helps you move one step closer to catching the eye of potential customers who will be passing by (and there will be a lot based on the fact there are over 140 million active users!) Read more about twitter design</p>
</div>
<div data-role="collapsible" data-collapsed="true">
<h3>Email Marketing</h3>
<p>Our dynamic e-mail campaign service means we can create a custom newsletter, an advert for a special offer or just a courtesy message to your customer base that is professionally designed and can be mailed out to as many customers as you wish. Not only that but it will be fully trackable so you can keep tabs on who has read the email or who has yet to open it. We can even add a secure, online subscription form to your website or facebook page where potential new customers can sign up to your mailing campaigns which are then integrated automatically so they are ready to be included in your next mailout. Read more about email marketing</p>
</div>
<div data-role="collapsible" data-collapsed="true">
<h3>Animation</h3>
<p>From animated email footers to full promotional videos, flash animation can be a useful tool to showcase your product or services to the world in an attractive and fun way. Read more about our animation services</p>
</div>
</div>
<div align="center"><!-- /content -->
<div id="footer1">
<div id="footer_left">
<div align="center"><img src="http://www.magnetikmedia.co.uk/m/images/fbook_foot.png" width="30" height="30" style="margin-right:10px;" ><img src="http://www.magnetikmedia.co.uk/m/images/twitter_foot.png" width="30" height="30" style="margin-right:10px;" ><img src="http://www.magnetikmedia.co.uk/m/images/blogger_foot.png" width="30" height: "30" style="margin-right:10px;" ><img src="http://www.magnetikmedia.co.uk/m/images/linkedin_foot.png" width="113" height="30" style="margin-right:10px;" ></div>
</div>
<div style="clear:both;"></div>
</div>
</div>
<div align="center"><!-- /footer -->
There was one closing div missing, added that and all fixed.
Related
I have a piece of markup where when a user clicks on "find a rider" the browser is supposed to take the user down to where the participants are on the same page. But when clicking the link it just takes me to a page not found on chrome, edge, and firefox (can't test safari).
<div class="container-fluid blue">
<div class="container text-center">
<h1 class="white">Prairie Women on Snowmobiles</h1>
Find a Rider
<div class="row">
<div class="col-lg-12" style="margin-bottom: 15px;">
<div class="hero elevation-z12" style="background-image: url('../images/content/pagebuilder/PWOS_banner.jpg');"></div>
</div>
</div>
</div>
</div>
<div class="container">
<div class="row">
<div class="col-lg-12">
<h2 class="text-center">Prairie Women on Snowmobiles</h2>
<p>A non-profit organization whose annual missions are provincial awareness events that are designed to focus attention on breast cancer and the recreation of snowmobiling as well as raise the much-needed funds for breast cancer research. Over the past 18 years we have raised almost $2.5 million for the cause. To learn more about Prairie Women on Snowmobiles click here.</p>
</div>
</div>
<div class="container">
<div class="text-center">
<h2>Riders</h2>
<p>Meet our 2020 Riders</p>
</div>
<div class="events">
<div class="event-display" id="find">
[[S51:PWOS_SK_reus_riders]]
</div>
</div>
</div>
</div>
normally to fix this I would just put the url in the link "../site/SPageServer/?pagename=PWOS_SK_homepage#find" and that works, however, doing that will break my url tracking if people land on the page using the vanity url.
Here's a link to the page:
https://secure2.convio.net/cco/site/SPageServer/?pagename=PWOS_SK_homepage
any help is appreciated.
thanks,
Your page starts with <base href="https://secure2.convio.net/cco/site/" /> so when you click on href="#find" it resolves to https://secure2.convio.net/cco/site/#find.
You need to write your URL relative to the base URL, not the current page.
As mentioned in a comment, it would be better to do this with simple JS instead of playing with browser functionality. Without touching the HTML and assuming you have jQuery on the site, I would add something like the following in a script tag (obviously below both the <a href='#find'> and div#find)
jQuery("a[href='#find']").click(function() {
event.preventDefault();
jQuery("body, html").animate({
scrollTop: jQuery("#find").offset().top
});
})
This allows you to stay on the page without linking away/messing up tracking data while the window will scroll to the proper element no matter how far down. Hope this helps (even though you managed it before me ;) )
When you hover the mouse over the link you see:
https://secure2.convio.net/cco/site/#find
but you expect:
https://secure2.convio.net/cco/site/SPageServer/?pagename=PWOS_SK_homepage#find
This is caused by the tag in the header.
I'm trying to reuse HTML from a previous page and write new content on a new page while still retaining the home button and footer for a portfolio. I copied over the HTML containing my home button and footer and used the same stylesheet. But upon opening up a new page with (mostly) the same content sans the hero and work section, the elements on my page look shifted over slightly to the right.
When I add the content from the landing page onto the new page, this problem goes away and the elements are flushed to the left like I want them. However, when I put in any content that does not contain the hero and work section from the landing page, the problem persists.
I've tried looking into not using margin and instead using positioning but am confused if this is the right direction I should go. I'll add the codepens to compare the two. Hopefully the difference is visible, as I really want to work on the actual content of my portfolio. I appreciate any advice.
My landing page:
<div class="container">
<header>
<h1 class="logo">Ryan M</h1>
</header>
<section class="hero">
<p>Hi, I'm Ryan!</p>
<p>
I'm a recent graduate from UC San Diego, where I received a B.S. in
Human-Computer Interaction. I am currently looking for work so feel
free to send me an email!!
</p>
<p class="social">
<a href="#"
>Resume</a
>
—
<a href="#"
>LinkedIn</a
>
—
<a href="
#">Github</a>
</p>
</section>
<section class="work">
<h2>Work ↓</h2>
<article>
<h3 class="title">KOTX website design</h3>
<h4 class="meta">Jan-Mar 2019</h4>
</article>
</section>
</div>
My new page I'm trying to make
Hopefully what I am looking to do makes some sense.
I am working on a project that will hopefully simplify an existing tool that is used on a regular basis. It is highly outdated both in style and language. What I have done so far as designed a sample layout to test the functionality of this tool. The HTML and CSS code is here for view as it does not display well as embedded html:
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="http://www.w3schools.com/lib/w3.css">
</head>
<body>
<div class="w3-container w3-black w3-center">
<h2 class="w3-text-red">Tool</h2>
</div>
<div class="w3-row-padding w3-margin-top">
<div class="w3-col" style="width:20%;">
<div class="w3-container">
<button onclick="document.getElementById('id01').style.display='block'" class="w3-btn">A***0</button>
<div id="id01" class="w3-modal">
<div class="w3-modal-content">
<div class="w3-container w3-card-8">
<span onclick="document.getElementById('id01').style.display='none'" class="w3-closebtn">×</span>
<p>Name:</p>
<p>Service 1:</p>
<p>Service 2:</p>
<p>Service 3:</p>
<p>Service 4:</p>
<p>Devices:</p>
<div class="w3-row-padding w3-margin-top">
<div class="w3-col" style="width:20%;">
<a target="_blank" href="#"><img src="" alt="Device 1"></a>
</div>
</div>
<div class="w3-row-padding w3-margin-top">
<div class="w3-col" style="width:20%;">
<img src="" alt="Device 2">
</div>
</div>
<div class="w3-row-padding w3-margin-top">
<div class="w3-col" style="width:20%;">
<img src="" alt="Device 3">
</div>
</div>
<div class="w3-row-padding w3-margin-top">
<div class="w3-col" style="width:20%;">
<img src="" alt="Device 4">
</div>
</div>
<div class="w3-row-padding w3-margin-top">
<div class="w3-col" style="width:20%;">
<a target="_blank" href="#"><img src="" alt="Device 5"></a>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>
When this is run in Chrome (used as corporate settings for IE block some code) you get a very small sample of the page (again simple testing purpose here).
This is using straight HTML/CSS3 to bring up a page with buttons. When the buttons are clicked the bring up a MODAL that will display specific information. As of now all the tags are very generic as this is for work and certain info is proprietary. What I am looking to do (again simple, needed only for testing) is when the button is clicked to bring up the MODAL that info will be passed from a database to fill in the info for that specific listing in the MODAL.
Example: Service 1 in MODAL needs to pull info from a database for a specific client/customer.
I am looking for the easiest way to do this on a local machine. I am not looking for building the entire database or deploying on corporate servers at that is way above my pay-grade and experience.
I currently have very limited experience in asp.net MVC4 and SQL (Meaning I have just started learning both and have completed the MVC Music Store Tutorial) So I think that I could build something with that but wanted to know if there was an easier way to do so with just html/css and possibly MSACCESS as I have access to that while working.
I am currently building the DB in ACCESS and that should be done in the next day or so depending on how busy I am with my other job functions.
Any assistance would be greatly appreciated. Thank you all for you time.
Edit: Is this possible using JavaScript and a Database file or would i definitively need to be running some type of server (even IIS) to make this possible. I am very limited in the tools I have on my work system.
HTML and CSS deal with presentation and layout, comprising the front-end. Your database and application language of choice (C#, PHP, etc) comprise the back-end.
It sounds like you would want to either develop this as an MVC project or use JavaScript to perform AJAX requests. The AJAX request would receive data from some sort of controller action or application page and display it where you want.
There are lots of different ways of getting and manipulating data; it's all very subjective and depends on your requirements. This is a question that you will need to answer on your own.
Having had some very basic HTML involvement in a previous website I was involved with, I am learning HTML and CSS in an effort to be able to do more work on my new website.
Currently I have a static image of a Youtube video, with a link that opens up a fullscreen player on a new page, but I'd like to replace that static image with an embedded Youtube player to play the video on my webpage.
There are a few places on the webpage (http://www.johnpearsesafaris.com/page-news-ls.html#) this method is used, but I am trying initially to just make the change to the uppermost image of the falcon with wings splayed, under the title 'How Did they ever film this?"
I initially went to the youtube site that explains the various embed player options they have and decided to go with the iframe one, as i have used iframes elsewhere before.
On my first attempt, I managed to get the player to embed itself and the video to play, but unfortunately it screwed up the rest of the formatting on the page. The static images for all the others News posts below it disappeared and the formatting of the rest of the page went out of whack.
=I then looked at a number of different guidelines on how to do it, and have spent a number of hours trying to rectify the situation, but I can't seem to overcome the break in formatting.
What I did was replace the HTML between rows 166 and 185 with the following HTML:
<div class="row">
<div class="loop-posts eight columns">
<div id="div3" class="post-CLASS blog-post-item b30">
<div class="post-heading">
<h2 class="blog-title"><a
href="https://www.youtube.com/v/XBEyCr5AoIs" target="_blank">How
did they ever film this?</a> </h2>
<div class="blog-meta"> <span class="blog-date">FEB
2014 <span class="blog-author"><span>
By </span><a class="blog-author-tooltip" rel="tooltip" data-original-title="View all posts by TheEditor" href="#">The
Editor</a>
</span>
</span>
</div>
</div>
<div class="blog-thumb-wrapper">
<iframe src="//www.youtube.com/embed/XBEyCr5AoIs" allowfullscreen="" frameborder="0" height="360" width="640"></iframe>
</div>
<div class="blog-excerpt">
<p>How did they ever film this?</p>
</div>
</div>
</div>
</div>
I am hoping that it's a simple oversight on my part. What is really confusing me is the div classes.
I confess I don't know enough about them but have been watching multiple instructional videos and using various other sources in a desperate effort to get up to speed.
I would really appreciate any help / guidance anyone could give me in helping me resolve the matter. I will continue to try to fix it on my own in the meantime.
Replace with this:
<div class="row">
<div class="loop-posts eight columns">
<div class="post-CLASS blog-post-item b30" id="div3">
<div class="post-heading">
<h2 class="blog-title"><a href=
"https://www.youtube.com/v/XBEyCr5AoIs" target="_blank">How
did they ever film this?</a></h2>
<div class="blog-meta">
<span class="blog-date">FEB 2014 <span class=
"blog-author">By <a class=
"blog-author-tooltip" data-original-title=
"View all posts by TheEditor" href="#" rel=
"tooltip">The Editor</a></span></span>
</div>
</div>
<div>
<iframe frameborder="0" height="360" src=
"//www.youtube.com/embed/XBEyCr5AoIs" width="640"></iframe>
</div>
<div class="blog-excerpt">
<p>How did they ever film this?</p>
</div>
</div>
</div>
</div>
http://ebullience-tech.com/services.html link to the website
this is my code and have two diferent section left with detail and right with index of the detail, and I want these to get aligned in straight coloumn when opened on mobile, but its not getting aligned, please help
<section id="tabs" class="element">
<div class="container">
<div class="element-sec">
<h3>Domains we have <i>EXPERTISE</i></h3>
<div class="theme-tabs2">
Software Development
</ul><!-- Selectors -->
<div id="myTabContent" class="tab-content aligned">
<div class="tab-pane fade active in" id="software_development">
<div class="col-md-3">
<img alt="" src="images/resource/aligned2.jpg" />
</div>
<div class="col-md-9">
<h3> Software Development</h3>
<h2 style="font-size: large">Softwares plays the key role in maintaining records, data, accounts, ledger, stocks
in a corporate or in an Industry with ease and accuracy. Holding and maintaining large data was a challenge for
human from years but after the evolution of technology its not a big deal now very complex calculations are
now solved in milli seconds. This evolution has increased the efficiency and accuracy of Industries and their
work.
We Provides software development for all types of business need list of softwares we are providing is:</h2>
<ul class="theme-list">
<li><i class=""><img></i>✓ Inventory and Stock Management</li>
<li><i class="icon-check-sign"></i>✓ Account Manager</li>
<li><i class="icon-check-sign"></i>✓ Billing Solution</li>
<li><i class="icon-check-sign"></i>✓ Invoice and Purchase Order</li>
<li><i class="icon-check-sign"></i>✓ Employee Management</li>
<li><i class="icon-check-sign"></i>✓ Payroll Manager</li>
<li><i class="icon-check-sign"></i>✓ Business Analytics</li>
<li><i class="icon-check-sign"></i>✓ ERP</li>
</ul>
</div>
</div>
<div class="tab-pane fade in" id="web_development">
<div class="col-md-4">
<div class="progress">
<div style="width: 85%;" class="progress-bar"><span><HTML /></span> <i>85%</i></div>
</div>
<div class="progress">
<div style="width: 45%;" class="progress-bar"><span><?PHP</span> <i>45%</i></div>
</div>
<div class="progress">
<div style="width: 90%;" class="progress-bar"><span>{CSS}</span> <i>90%</i></div>
</div>
<div class="progress">
<div style="width: 70%;" class="progress-bar"><span>DESIGN</span> <i>70%</i></div>
</div>
</div><!-- Progress Bars Simple -->
<div class="col-md-8">
<h3> Website Development</h3>
<p>Maintaining your presence globaly is a deed now a days in terms of business expansion in which a website gives you
the best result. Website can also be used as applications where you can maintain your data and make mathematical
operations to obtain results. Websites are mainly of two types <i>Static</i> and <i>Dynamic</i>. A static website is an informational website which
contains all the business and contact informations about the organizatoin or individual , no changes can be made in
run time on a static website. whereas a dynamic website contains more flexibility where you can intereact with database
and make changes to your profile and data on run time. Dynamic websites are widely used because they can
be used as a application which can be operated from anywhere in the world without any installation or specific
requirements. We are developing websites on all the major languages like .Net, Java, Php. and back end on SQL Server and MYSQL.</p>
</div>
</div>
<div class="tab-pane fade in" id="mobile_app">
<div class="col-md-3">
<img alt="" src="images/resource/mobile.png" />
</div>
<div class="col-md-9">
<h3>Mobile Apps Development </h3>
<h2 style="font-size: large">Softwares plays the key role in maintaing records, data, accounts, ledger, stocks
in a corporate or in an Industry with ease and accuracy. Holding and maintaining large data was a challenge for
humen from years but after the evolution of technology its not a big deal now very complex calculations are
now solved in mili seconds. This evolution has increased the efficiency and accuracy of Industries and their
work.
We Provides software development for all types of business need list of softwares we are providing is:</h2>
<ul class="theme-list">
<li><i class="icon-check-sign"></i>✓ Android Application</li>
<li><i class="icon-check-sign"></i>✓ Windows Phone Application</li>
<li><i class="icon-check-sign"></i>✓ IOS Application</li>
</ul>
</div>
</div>
<div class="tab-pane fade in" id="soft_web_testing">
<div class="aligned">
<div class="col-md-3">
<img src="images/resource/testing.png" alt="" />
</div>
<div class="col-md-9">
<h3>Testing</h3>
<h2>We evaluate an attribute or capability of a program or system and determine that it meets its required results.</h2>
<p>Testing is an important part of a successful running product, Without testing the development is not completed.
We provides testing services to companies which are working in development field. <i></i></p>
</div>
</div>
</div>
<div class="tab-pane fade in" id="seo">
<div class="aligned">
<div class="col-md-3">
<img src="images/resource/seo.jpg" alt="" />
</div>
<div class="col-md-9">
<h3>Search Engine Optimization</h3>
<h2>Help your site to get placed at good rank in a search engine.</h2>
<p>Positioning <i>your website on top rank</i> in search engine(Google, Yahoo, Bing) search result is termed as SEO.
SEO is one of the most useful service for anyone who is running web based business, products and services are mostly searched on Search engines so if you
have a good rank their you will have get a better response among all the other rival sites.<i></i></p>
</div>
</div>
</div>
<div class="tab-pane fade in" id="graphic_design">
<div class="aligned">
<div class="col-md-3">
<img src="images/resource/graphic.jpg" alt="" />
</div>
<div class="col-md-9">
<h3>Graphic Designing</h3>
<h2>We Believe in developing Best Graphics according to our client's need.</h2>
<p>Graphic design is the art of communication, stylizing, and problem-solving through the use of type, space and image.
Our graphic design include identity (logos and branding), publications (magazines, newspapers and books),
print advertisements, posters, billboards, website graphics and elements, signs and product packaging.<i></i></p>
</div>
</div>
</div>
<div class="tab-pane fade in" id="marketing">
<div class="aligned">
<div class="col-md-3">
<img src="images/resource/marketing.jpg" alt="" />
</div>
<div class="col-md-9">
<h3>Advertising & Marketing</h3>
<h2>Experience the Power of Advertising & Marketing</h2>
<p>Social Meadia has a great reach to people, it connects people and group of people, and marketing you product on social media means
marketing directly to the end user. Most visited websites now a days are social media websites like facebook, twitter, google+
they are connected to billions of people. We are providing social media marketing on Facebook and Google+.<i></i></p>
</div>
</div>
</div>
</div>
<div class="list-group nav-tabs" id="myTab">
Software Development
Web Development
Mobile Apps Development
Software/Web Testing
Graphic Designing
Social Marketing & Advertising
</div>
</div>
</div>
</section>
It's not a problem of alignment of sections and divisions , your whole layout needs to be configured for mobile .
You can use media tag in css3 :
#media (max-width: 1024px){}
for tablet layout
and :
#media (max-width: 770px){}
for mobile layout
And in those tags you can use the same classes and IDs to override your styles to fit mobile and tablet layouts.
I also recommend you resizing then uploading the software development image (since it's original size "1200px*1179px" is really disturbing on mobile ) and to give to your containers :
width:100%;
max-width:1024px;
in order to get a better structured and responsive ready layout .