Web Development

75K

Solutions

49K

Contributors

Web development includes all aspects of presenting content on intranets and the Internet, including delivery development, protocols, languages and standards, server software, browser clients, databases and multimedia generation.

Share tech news, updates, or what's on your mind.

Sign up to Post

Hello!
I've put a logo on my site's homepage and the logo was clickable. And then I adjusted its position through custom.css file, but now the logo is NOT clickable (plain image). How to make it clickable again?
Here's a homepage of my site:
My site's URL
0
Learn Ruby Fundamentals
LVL 19
Learn Ruby Fundamentals

This course will introduce you to Ruby, as well as teach you about classes, methods, variables, data structures, loops, enumerable methods, and finishing touches.

Hi, whenever I add a link from https://magickitchen.com to facebook, the image FB wants to use is this one. https://www.magickitchen.com/cart/img/cart/animated_ellipsis.gif

So I always see this:

Capture.JPG
Is there a way I can tag that image so it never appears as an option on Facebook? Because sometimes I forget to choose another image, and that ugly thing remains.
0
on https://techgardens.com, the h3 tags are too small on mobile, something's changing them to 15px. Good example here: https://techgardens.com/privacy-policy/

I tried adding this to custom CSS, and it didn't help. Advice? Thanks.

/*increase size of h3 tags on mobile only*/
@media (min-width: 481px)  {  
h3, .h3-style {
    font-style: normal;
    font-weight: 700;
    font-size: 20px;
    line-height: 1.25;
    font-family: Roboto, sans-serif;
    letter-spacing: 0em;
}
}
0
I have an Access DB, running on an office PC.
I'd like have a webpage that displays data from this DB.
I have a shared drive that can be used so others can see this webpage - without directly addressing Access.
This page will be designed as a dashboard, and will have a wide variety of links, tables, charts.
How do I setup a connection & display the data?
Thank you in advance.
Russ
0
Does anyone have a "Task List Software" like
https://trello.com/tour that offers ALL of the
below, including "on Premise webpage, NOT Cloud" ?
---------------------------------------
Trello.com Already Does
 1. easy drag/drop to rearrange TASKS
 2. different color PRIORITY levels
 3. history log so we can see who
    deleted something/etc
 4. user level security
      ** ONE user as ReadWrite access
      ** other user has ReadOnly access
           ** https://help.trello.com/article/732-adding-observers-to-boards
---------------------------------------
Trello.com Does NOT do
 1. on Premise webpage, NOT Cloud
      ** per https://community.atlassian.com/t5/Trello-questions/On-premise-Trello/qaq-p/604029
0
Hi Experts,

I get the following errors on my developer console on my chrome browser.

A cookie associated with a cross-site resource at http://pinterest.com/ was set without the `SameSite` attribute. A future release of Chrome will only deliver cookies with cross-site requests if they are set with `SameSite=None` and `Secure`. You can review cookies in developer tools under Application>Storage>Cookies and see more details at https://www.chromestatus.com/feature/5088147346030592 and https://www.chromestatus.com/feature/5633521622188032.

(index):1 A cookie associated with a cross-site resource at http://www.facebook.com/ was set without the `SameSite` attribute. A future release of Chrome will only deliver cookies with cross-site requests if they are set with `SameSite=None` and `Secure`. You can review cookies in developer tools under Application>Storage>Cookies and see more details at https://www.chromestatus.com/feature/5088147346030592 and https://www.chromestatus.com/feature/5633521622188032.

Open in new window


How to resolve this error.  My application is Django application on back end and Reactjs on front-end

I had to make an api call from my front end.   I was getting cors error.  The things I had done for this is as follows:

I had made mode:'no-cors'

will this cause an error?

   fetch("https://territorystories.nt.gov.au/rest/login?email=user@nt.gov.au&password=*******",
         {credentials:"include",crossDomain:true, mode: 'no-cors',headers:{'content-type':'application/x-www-form-urlencoded'}})
      .then(
        (result) => {
            localStorage.setItem('sessionid', result.sessionid);
        })
      .catch(error => console.log("error- ", error));
  }

Open in new window


Please help in resolving this issue.

Any help is highly appreciated
0
I have Xampp installed in Windows2012R2.
I have this error after a reboot in Xampp. I have opencart installed.  
If I change the port from 80 to 81 or other port apache starts. Any idea what could be wrong?
It seems port is used somewhere not sure where?
Capture53.JPG
0
Hi Experts,

Our application is designed with Caspio tools, and they only support 4 browsers with the latest versions.

They wrote for us a utility that will keep track of which browser/version the users have used to log into our app.

How do I determine if for example those two stored versions below are the latest or not?

Mozilla/5.0 (iPad; CPU OS 9_3_5 like Mac OS X) AppleWebKit/601.1.46 (KHTML, like Gecko) Version/9.0 Mobile/13G36 Safari/601.1
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/601.7.8 (KHTML, like Gecko) Version/9.1.3 Safari/537.86.7

Open in new window


Thanks
0
Hi Experts,

I have a web page (designed in Caspio), that is meant for users to change their password.
Would like to add a feature that stores the date that password was changed in the database.
Created a field for that, now I need the JavaScript code to update that field upon change of PWD field.
Attached is how the page looks like.

Thanks
Untitled.png
0
How to detect when element is Clicked using JavaScript?
<a data-target="#botwDisclosuresModal" data-toggle="modal" href="#botwDisclosuresModal"> Application Disclosures </a>

Open in new window

Thanks!
0
Learn SQL Server Core 2016
LVL 19
Learn SQL Server Core 2016

This course will introduce you to SQL Server Core 2016, as well as teach you about SSMS, data tools, installation, server configuration, using Management Studio, and writing and executing queries.

Is it possible to set up a script on an Apache web server to email me whenever a 500 error happens? How would I do that? We use Symfony and if there's a code failure I want to know about it bright away... the Symfony logs don't show a 500 error but the server logs do.
0
I don't have access to phpmyadmin so I need to know the sql syntax to update a password field with the following content and only update the first record in the login table.

DB name - thefruga_sendy
Username - root
Table name - login

This is the content that needs to be pasted in the password field of the first record only.

a5b253d8484925a3b4fba260768416dfdcbeaed639bb3435c566cbf54721f846903725c7283cf9ab1f090f179d015f46a50b5e798695547eda6e2342db8918a2

Open in new window


I know this will change the password to 12345678.  This is a temporary measure because i am trying to leave this host but for some reason the password reset isn't working so that's why I need to do this via sql.

Thanks,
0
Hi,
How can we apply ICP Filing for a Chinese Web-site?
https://www.akamai.com/us/en/products/performance/icp-license.jsp

For one given web-site, how can we check/validate if it is having ICP Filing or not?
0
Hello. I have a page where I am archiving newsletters.   On the right I have the newsletters listed and to the left I am displaying the most current edition.  The newsletters are just PDF files with multiple pages.  So to display them I used the <object> tag.  This is working but it is displaying the newsletters extremely small.  Even if I increase the width of the div the newsletter stays the same.  Can someone tell me what I'm doing wrong?

This is how I'm displaying the PDF file:
<div class="news_container">
        <div class="pdf_content">
            <object data="../../Newsletter/2019/CIDD_Newsletter_Issue_April2019.pdf" type="application/pdf" width="100%" height="100%">
                <p>Your browser does not support PDFs.
                <a href="../../Newsletter/2019/CIDD_Newsletter_Issue_April2019.pdf">Download the PDF</a>.</p>
            </object>
        </div>

Open in new window


This is how I'm displaying the list of newsletters:
<div class="newsletter_list">
            <div style="padding: 4px 0px 4px 6px;">
                <a href="../../Newsletter/2019/CIDD_Newsletter_Issue_April2019.pdf" target="_blank">Current edition (April 2019) &raquo;</a>
            </div>
            <div style="margin-top: 6px; padding: 3px 0px 3px 6px; background-color: #e5e5e5;">
                Past Editions
           </div>
            <div style="padding: 4px 0px 4px 6px;">
         <a href="../../Newsletter/2018/CIDD_Newsletter_Issue_November_2018.pdf" 

Open in new window

0
I have a larger site on IIS and now I am planning to add an asp.net web application to one of its folders, like this:

FLD_ROOT
    FLD_TXT
    FLD_APP

where FLD_ROOT is the root of the larger site and FLD_APP is the folder where I plan to deploy the application. In addition, the site contains the FLD_TXT folder.

The application needs to read the text files in FLD_TXT when it starts. It is not possible to include those files with the application (for site maintenance reasons).

My question is, can my application access those files? They are not part of it, but still part of the site. If not, what would be a solution to grant access?
0
Hi Experts,

Wondering if there is a site or program that will translate a code snipped into plain English?
The way it has to convert it into computer language (binary format 0001011100) , it should be something for ordinary people (beginners) too...

Something like the following

//hide default submit button row at the bottom of inline forms
$(document).ready( function() {
    $( '.cb-hide-submit input[type="submit"]' ).closest( 'tr' ).remove();
    $( '.cb-btn-reset' ).bind('click', function() {
        $( this ).closest( 'form' ).find( 'select, input[type="text"]' ).val( '' );
        $( this ).closest( 'form' ).submit();
    });
    checkBrowser();
    $("form").on(":submit", function(event) {
        if(!checkBrowser()) {
            event.stopImmediatePropagation();
        }
    });
});

Open in new window



Where could I see what each line of code is supposed to do?

PS. If there is a converter from JQuery to VBA that would also be helpful (in my case).

Thanks
0
Hi,

I have a friend that wants to make a website for social purposes, like helping other girls going thru similar social situation as hers; like support group of some sort.  I told her that she should consider opening a page in  facebook or a channel in youtube or a blog so she can write what she wants and get feedback.  I would like to know u guys advice on this topic.  

  • Should she start now getting a domain, a website, developing etc. or start with facebook and from there go tom other areas opening up pages?
  • What blog services out there free?
  • Beside facebook or youtube, what other social media tools should she look into?
0
Hi Experts,

Two questions...

1- Is there a way to temporary change the JavaScript code of a production site for testing without affecting the site itself by other users?
2- I have a link that when double clicking on that it keeps spinning, but when I copy/paste the URL in the navigation pane it works, how can I troubleshoot that?

Thanks
0
Microsoft Project and a web API?

I see Project has many more features than when I last worked with it, years ago. But, does it have an API?

It would be great to be able to build Project into a large solution, and this would be possible, if I can manipulate Project data externally.

Also, what other similar tools have such capabilities as Project? I do recall,  when using it, if you have a need to go outside their features, it was challenging. But this was many years ago.

Thanks
0
OWASP: Avoiding Hacker Tricks
LVL 19
OWASP: Avoiding Hacker Tricks

Learn to build secure applications from the mindset of the hacker and avoid being exploited.

Hi,

I am new to web development and c# and java script in particular.  I have a problem I have been stuck on for a few days.  I have a ASP Core project.  I have a button on a page that calls some javascript code to pass in a serial number and I want it to return some data from my controller.  There are several fields in my model data, but to keep it simple i will just try and show 2.  The problem is it is showing the serial number but any other field it shows the value as undefined when i load the page and press the button.

The java script I have is:
 
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min.js"></script>
<script>

    $(document).ready(function () {
        $("#abc").click(function (e) {
            if ($("#SerialNumber").val() == "")
                alert("SerialNumber cannot be empty");
            else if ($("#Comments").val() == "")
                alert("Comments cannot be empty");
            else {
                $.ajax({
                    type: "POST",
                    url: "/Home/GetSecuredData",
                    data: {"serialNumber": + $("#SerialNumber").val() },
                    success: function (result, status, xhr)
                    {
                        var html1 = ""
                         $.each(result, function (items, OperationsData)
                        {
                
                                html1 += `                                
                                       

Open in new window

0
Hi everybody.
So I have several website. Their structure is:

-admin
-css
-en
  -index.php
-es
  -index.php
-js
.htaccess
index.php
urlrewriter.php

The index.php in the root just redirect to the index in es folder, where are spanish version of the website:

index.php in root
<?php
header("Location: /es/index.php");

Open in new window


I use url rewriter to rewrite urls accordingly to a configuration file. The important thing is that in all websites I have the same code for all these files (what's change is the html template and okay some other things but none of them is related to this question).

In .htaccess  I have this
<IfModule mod_rewrite.c>
RewriteEngine on
Options +SymLinksIfOwnerMatch
RewriteBase /

RewriteCond %{HTTPS} off [OR]
RewriteCond %{HTTP_HOST} !^www\.
RewriteCond %{HTTP_HOST} ^(?:www\.)?(.+)$
RewriteRule .* https://www.%1%{REQUEST_URI} [L,NE,R=301]

RewriteCond $1 !^(admin/|witpack/php|auth|.css|.js|.jpg|.png|.gif)
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule . /urlrewriter.php [L]
</IfModule>

Open in new window


in urlrewriter.php I have this code:
<?php
require_once __DIR__ . '/inc_common.php';
$url = strtok($_SERVER['REQUEST_URI'], '?');
$requestedPage = substr($url, 1, strlen($url) - 1);
$safePages = array();
foreach ($config->translation->pages as $langGroup) {
    foreach ($langGroup as $key => $value) {
        array_push($safePages, $value);
    }
}
if (!empty($requestedPage)) {
    if (!in_array(trim($requestedPage), $safePages)) {
        echo "requestedPage: $requestedPage<br>";
        echo "<pre>";
        var_dump($safePages);
        echo "</pre>";
//        header("Location: /403.php");
    } else {
        include($_SERVER['DOCUMENT_ROOT'] . "/$requestedPage.php");
    }
}

Open in new window


So when someone just types the domain name www.website.com, it is redirected to urlrewriter.php. Here the requested page result to be es/index.php. Since this page is in $safePages, it is just included.

Suddenly, in the new website I'm building this proven code stopped to work! Typing the url of the website, the es/index.php page is served but without all php variables initialized in the inc_common.php file included in urlrewriter.php. If I comment the redirection in the root index.php, I just get a blank page. If I play with the .htaccess, the only result I've got is an infinite loop or the list of pages due to the var_dump in urlrewriter.php because the requested url result to be urlrewriter.php itself.
I've got this last result when I I changed htaccess this way:

Open in new window

0
Hi,

I d like to make a small webpage which can:
-upload an executable file or msi
-gets the ad user who uploads this file and set info on the file and user in a json file when the user clicks submit

Maybe nodejs can do this?
Please advise howto.
J
0
Need to get value of webpage URL (with query string parameters, without, and only string with parameters)
Thank you in advance.
0
I am looking to build a Local audience centered around health and have started the group pictured below on Facebook.

When I went to share the group with a friend that is new to social media, and not on Facebook, and to my surprise I could not.

Since I am also new to using social media myself really, I am a little lost here.

This inability to share with a non-Facebook audience might render Facebook a poor option for this.

Is there any way to share it?  If not, what might be a better social media choice?

Assistance is greatly appreciated.

Facebook
Potential Choices For Growing Local Audiences and Sharing To Outside Parties
Facebook Groups
Facebook Pages
Webpage - Home
Webpage - Live Healthy
Linkedin
Instagram
Twitter
Tumblr
0
I have an error in my css that I am not sure how to fix.  It is the line that has all of the "#'s" beside it. Because of the error I can't save the css without a message that says it may break my site.  The site is https://www.henricomg.org

Here is the code

#logo {
margin-bottom:-157px;}

div#masthead {
	margin-top:-160px;
}
a{
	text-decoration:underline;
}
p{font-size:16px;}

#logo {
width: 1024px;
}
#logo img {
max-height: 198px;
}

 /* Style the buttons that are used to open and close the accordion panel */
.accordion {
  background-color: #eee;
  color: #444;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  text-align: left;
  border: none;
  outline: none;
  transition: 0.4s;
}

/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
.active, .accordion:hover {
  background-color: #ccc;
}

/* Style the accordion panel. Note: hidden by default */
.panel {
  padding: 0 18px;
  background-color: white;
  display: none;
  overflow: hidden;
} 
 .header-main {
    height: 296px;
}

/*Acco*/
.ac-container {
    max-width: 400px;
}

.ac-container label {
    height: 30px !important;
    line-height: 21px !important;
    font-size: 12px !important;
    font-family: 'Open Sans','Arial Narrow',Arial,sans-serif !important;
    padding: 5px 20px;
    position: relative;
    z-index: 20;
    display: block;
    height: 30px;
    cursor: pointer;
    color: #777;
    text-shadow: 1px 1px

Open in new window

0

Web Development

75K

Solutions

49K

Contributors

Web development includes all aspects of presenting content on intranets and the Internet, including delivery development, protocols, languages and standards, server software, browser clients, databases and multimedia generation.